Skip to content

Instantly share code, notes, and snippets.

@straps
Created April 2, 2011 13:14
Show Gist options
  • Save straps/899493 to your computer and use it in GitHub Desktop.
Save straps/899493 to your computer and use it in GitHub Desktop.
Node.js debugging script that uses node-inspector
#!/bin/bash
#Usage: nodebug app.js
node-inspector &
google-chrome http://127.0.0.1:8080/debug?port=5858
node --debug-brk $1
kill $!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment