By node-inspector module :
# install
$ npm install -g node-inspector
# run :
$ node-debug app.js
Debugger – Official Documentation
Follow it : https://nodejs.org/api/debugger.html
Using Intellij IDEA
- Install Plugin NodeJS :
- Run the NodeJS Server in the Debugger mode :