Debugging node.js - easysoa/EasySOA GitHub Wiki
node-inspector
node-inspector is a useful debugging tool for Node.js, with the same look-and-feel as Chrome's web debugging interface.
- Install with
$ npm install -g node-inspector
- Start a node.js server, such as the one in
easysoa-web/js
, withnode --debug easysoa.js
- Launch node-inspector
node-inspector --web-port=8881
(or any other port, just be careful as the default one is Nuxeo's 8080) - Browse to http://0.0.0.0:8881/debug?port=5858 with a WebKit-based browser (such as Chrome) and start debugging.