cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Cordova Wiki] Update of "NodeInspector" by JoshSoref
Date Mon, 11 Nov 2013 21:21:30 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.

The "NodeInspector" page has been changed by JoshSoref:

Node Inspector

New page:
= Node Inspector =

Debugging [[|Node.js]] by hand can be frustrating. You could do: `node debug
some_script.js the_arguments`, but you wouldn't want to.

== Installing Node Inspector ==

Instead, you can install Node Inspector:
node install node-inspector
cd ~/node_modules/node-inspector
npm link

Please have your [[npm_rc|npm environment]] configured so that you don't need to use `sudo
npm install -g ...`.

== Running Node Inspector ==
Assuming that you have your [[npm_rc|npm environment]] configured, you can now do:

 1. Run `node-inspector`.
 1. Open [[|Google Chrome]] (or some other Blink derived web browser)
to [[http://localhost:8080]].
 1. Run `node --debug-brk path/to/some_script.js the_arguments`.

View raw message