This week’s VS Code tip of the week is coming a day late. I’m still ramping up at my new job and completely forgot to post this yesterday. 🙃
What this gives you is the easiest way to start a debug session for Node.js. Run an npm script that runs something Node.js and it will attach the debugger automatically for you. Same goes for running a file via e.g.
Happy VS Coding!
P.S.: If you're looking for a community that’s all about VS Code, come on over and say hi at vscodetips.com!