Skip to content

Instantly share code, notes, and snippets.

@thebapi
Created July 10, 2013 11:42
Show Gist options
  • Save thebapi/5965604 to your computer and use it in GitHub Desktop.
Save thebapi/5965604 to your computer and use it in GitHub Desktop.
How to debug in NodeJS
1. download node-inspector from npm ---
npm install -g node-inspector
2. Run the nodejs app like
node --debug app.js
3. Start Node Debugger--
node-inspector &
4. Open URL http://127.0.0.1:8080/debug?port=5858
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment