0.1.1 • Published 13 years ago
nodebug v0.1.1
nodebug
This is a command-line utility that simplifies the process of debugging node scripts using node-inspector.
Installation
npm install -g nodebug
Usage
To debug a typical script:
nodebug "lib\module.js"
To debug unit tests:
nodebug "node_modules\nodeunit\bin\nodeunit" "test\module.js"
What it does
- Executes the specified script with the node debugger attached (i.e. --debug-brk)
- Starts node-inspector
- Launches the debugging interface (i.e. Chrome)