I'm currently new to Node.js, as I had previous experience with PHP server before, I know that I can debug the server in PHPStorm that supports breakpoints and I can follow the process step by step. I'm wondering if there is a similar tool for Node.js to perform such kind of debugging. Thanks a lot.
3 Answers
I'm a huge fan of the node-inspector for these purposes-- let's you use the Chrome dev tools for debugging Node applications.
(From this SO.)
3 Comments
Dave Newton
If the answer is a direct link to an SO question, then it's a dupe question.
Alexander Nied
Noted-- I'll make sure I know how to mark as duplicate for the future. Sorry about that.
Dave Newton
No biggie; wasn't trying to be mean.
I've heard good things about vscode. Here's more info https://code.visualstudio.com/Docs/editor/debugging