Categories
JavaScript Answers

How to debug Node.js applications?

Spread the love

Sometimes, we want to debug Node.js applications.

In this article, we’ll look at how to debug Node.js applications.

How to debug Node.js applications?

To debug Node.js applications, we can use the node-inspector package.

We install it with

npm install -g node-inspector

Then we run

node-debug app.js

to start app.js with the node-inspector debugger.

Conclusion

To debug Node.js applications, we can use the node-inspector package.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *