Skip to content

Instantly share code, notes, and snippets.

@sergixnet
Last active October 26, 2017 07:05
Show Gist options
  • Save sergixnet/65a2a36184aa4b485d7e to your computer and use it in GitHub Desktop.
Save sergixnet/65a2a36184aa4b485d7e to your computer and use it in GitHub Desktop.
Debugging with node.js, node-inspector and supervisor
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 ;-)
@sonukapoor
Copy link

Thanks. Exactly what I needed.

@SimonTart
Copy link

Thanks very much

@galsch
Copy link

galsch commented Apr 23, 2016

Amazing - thanks!

@xiaowang1314
Copy link

赞一个

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment