I always hate attaching processes, watching files, restart processes and so on to debug Node.js code. For this reason I wrote this software to make those things easier. With ironNode you have the full power of JavaScript debugging within Google Chrome' s Developer Tools.
npm install iron-node -g;
- You may need administration rights. So use
$ sudo npm install iron-node -g;
- To stop with the debugger at the code line you want you need to place the keyword
debugger;
in your source code.
The usage is exactly the same like node
. Just use iron-node
instead of node
.
iron-node PATH_TO_NODE_JS_FILE [--customparm1=foo --customparm2=bar];
Copyright (c) 2015 Stephan Ahlf [email protected]
This software is licensed under MIT.