Last active
October 26, 2017 07:05
-
-
Save sergixnet/65a2a36184aa4b485d7e to your computer and use it in GitHub Desktop.
Debugging with node.js, node-inspector and supervisor
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 ;-) |
Thanks very much
Amazing - thanks!
赞一个
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. Exactly what I needed.