Debugging code is a critical part of software development, even for the best developers. There will be a time when you simply can't figure out what is wrong without running a debugger and related tools. Fortunately, there are plenty of tools available for NodeJS debugging – as there are with most languages.
NodeJS is certainly not without a host of debuggers, including some great IDEs with debuggers built in to them, like WebStorm from JetBrains. If you're a WebStorm user and you want to get some NodeJS code on, you'll want to learn how to set up an application profile for your debugging experience to work properly. It's simple and allows you to quickly start, stop and debug NodeJS code from within this powerful IDE.