monteslu / j5-chrome

Johnny-Five Nodebots as a chrome packaged application
44 stars 10 forks source link

Access console.log #8

Open Resseguie opened 9 years ago

Resseguie commented 9 years ago

By default, packaged Chrome Apps don't allow access to Chrome Developer Tools and the console.

Inside Chrome, enter the following into the address bar: “chrome://flags”. Find the option for “Enable debugging for packed apps” and turn it on. Restart your browser (including the Chromebots app) and now you can right-click inside Chromebots and select the “Inspect Element” option in the menu to gain access to the standard Chrome Developer Tools.

Is there a way to automate that or at least have an advanced link that gives instructions? Or is there a better way to access console that I'm missing?

What if we had a console text area? Could we capture them and display ourselves in the UI?