This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debugging with node.js | |
1- install supervisor: sudo npm install -g supervisor | |
2- install node-inspector: sudo npm install node-inspector | |
3- On a terminal: supervisor --debug path/to/your/app.js | |
4- On another terminal: node-isnpector | |
5- Open Google Chrome on http://127.0.0.1:8080/debug?port=5858 and there you are a nice Developer tools to debug ;-) |