Dear wiki user,

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

The page "NodeInspector" has been deleted by purplecabbage:

https://wiki.apache.org/cordova/NodeInspector?action=diff&rev1=2&rev2=3

- = Node Inspector =
  
- Debugging [[https://nodejs.org|Node.js]] by hand can be frustrating. You 
could do: `node debug some_script.js the_arguments`, but you wouldn't want to.
- 
- == Install Node Inspector Globally ==
- {{{
- npm install -g node-inspector
- }}}
- 
- Please have your [[npm_rc|npm environment]] configured so that you don't need 
to use `sudo npm install -g ...`.
- 
- == Or Install Node Inspector Locally ==
- 
- {{{
- npm install node-inspector
- cd ~/node_modules/node-inspector
- npm link
- }}}
- 
- == Running Node Inspector ==
- Assuming that you have your [[npm_rc|npm environment]] configured, you can 
now do:
- 
-  1. Run `node-inspector`.
-  1. Open [[http://google.com/chrome|Google Chrome]] (or some other Blink 
derived web browser) to [[http://127.0.0.1:8080/debug?port=5858]].
-  1. Run `node --debug-brk path/to/some_script.js the_arguments`.
- 
- For more information on using node-inspector check out the GitHub Repository 
[[https://github.com/node-inspector/node-inspector]]
- 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to