Question
Does Node.js provide built-in support for debugging?
Answer
Node7 introduced this new feature. It includes an out-of-process debugging utility accessible via a TCP-based protocol and built-in debugging client. To use it, start Node.js with the debug argument followed by the path to the script to debug. For example
$ node debug YouAwesomeScript.js
This command will show you a prompt indicating successful launch of debugger.