Refresh

This website github-wiki-see.page/m/easysoa/EasySOA/wiki/Debugging-node.js is currently offline. Cloudflare's Always Online™ shows a snapshot of this web page from the Internet Archive's Wayback Machine. To check for the live version, click Refresh.

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.

  1. Install with $ npm install -g node-inspector
  2. Start a node.js server, such as the one in easysoa-web/js, with node --debug easysoa.js
  3. Launch node-inspector node-inspector --web-port=8881 (or any other port, just be careful as the default one is Nuxeo's 8080)
  4. Browse to http://0.0.0.0:8881/debug?port=5858 with a WebKit-based browser (such as Chrome) and start debugging.