Skip to content

Instantly share code, notes, and snippets.

@rjcorwin
Last active January 2, 2016 21:08
Show Gist options
  • Select an option

  • Save rjcorwin/8361176 to your computer and use it in GitHub Desktop.

Select an option

Save rjcorwin/8361176 to your computer and use it in GitHub Desktop.
Fastest and most lightweight method for starting a GUI based debugger I've ever seen. For node.js, this debugs your code using the Developer Tools in Google Chrome.

install

npm install -g node-inspector;

run debugger

node-inspector & ;
node --debug your/node/program.js;
open -a /Applications/Google\ Chrome.app 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