nodebug

Command line utility that simplifies node debugging

nodebug

This is a command-line utility that simplifies the process of debugging node scripts using node-inspector.

npm install -g nodebug

To debug a typical script:

nodebug "lib\module.js"

To debug unit tests:

nodebug "node_modules\nodeunit\bin\nodeunit" "test\module.js"
  1. Starts node-inspector
  2. Executes the specified script with the node debugger attached
  3. Launches the debugging interface in Chrome