Nodedev is the wrapper for nodemon and node-inspector.
Nodemon is the tool to reload the server when source files are changed.
Node-inspector allows you debug through chrome for nodejs files.
https://www.npmjs.com/package/nodedev
For example, to run index.js
nodedev index.js
then you can open chrome and visit http://127.0.0.1:7001/debug?port=7000 to start debugging
No comments:
Post a Comment