Tip: You can debug a simple application even if you don't have a folder open in VS Code but it is not possible to manage launch configurations and setup advanced debugging. To debug a simple app in VS Code, press kb() and VS Code will try to debug your currently active file. The top level debug menu has the most common debug commands: The Debug view displays all information related to debugging and has a top bar with debugging commands and configuration settings. To bring up the Debug view, click on the Debugging icon in the Activity Bar on the side of VS Code. Once you have a simple application all set up, this page will take you through VS Code debugging features. You can follow the Node.js walkthrough to install Node.js and create a simple 'Hello World' JavaScript application ( app.js). It is helpful to first create a sample Node.js application before reading about debugging.
The following documentation is based on the built-in Node.js debugger, but most of the concepts and features are applicable to other debuggers as well.
Click on an extension tile above to read the description and reviews to decide which extension is best for you. Tip: The extensions shown above are dynamically queried.