Does Node.js provide Debugger?

Yes, Node.js provides a simple TCP based protocol and built-in debugging client. For debugging your JavaScript file, you can use debug argument followed by the js file name you want to debug.

Syntax:

node debug [script.js | -e "script" | <host>:<port>]  

Comments

Leave a Reply

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