[Node.js] – How to debug a node application ?

 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 :

Screen Shot 2016-08-31 at 1.13.13 PM

  • Run the NodeJS Server in the Debugger mode :

Screen Shot 2016-08-31 at 1.17.14 PM



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s