Debugging Node Code in VS Code
Visual Studio Code has an amazing amount of functionality built in, including support for debugging applications. Although the functionality is there, it took me several tries to figure out how to get things configured to debug Node applications. It became even more tricky when using Nodemon, so I figured it was worth it to share the various configurations I've learned. This article will not dive deep into inspecting variables, call stack, etc. but will focus more on the actual configurations. If you are looking for an article more focused on applied debuggging concepts, check out Debugging JavaScript in Chrome and Visual Studio Code.
Watch on YouTube
TLDR - Debugging Node in Visual Studio Code
Download Debugger for Chrome extension
Create Debug configuration from one of the 4 below
Launc...