mozilla / node-firefox

node.js modules for interacting with Firefox via the DevTools remote protocol
https://www.npmjs.org/package/firefox
Mozilla Public License 2.0
301 stars 18 forks source link

How do I do remote debugging on a simulator started with node-firefox? #21

Open k88hudson opened 9 years ago

k88hudson commented 9 years ago

Sorry if this is obvious, but it wasn't quite clear to me after reading http://hacks.mozilla.org/2015/02/introducing-node-firefox/ how to connect a debugger (i.e. devtools) to a simulator started by node-firefox. Do I still need the webIDE to do this?

nicola commented 9 years ago

If you want to have the developer tools, the one you are used to see in the Firefox Browser, then you can use WebIDE and set it to connect to the port where you started the simulator with node-firefox.

WebIDE -> Select runtime (top right corner) -> remote runtime and you set the same port.