Debugging in Visual Studio Code
Debugging is a core feature of Visual Studio Code. In this tutorial, we will show you how to run and debug a program in VS Code. We'll take a tour of the Run and Debug view, explore some debugging features, and end by setting a breakpoint.
Tip: To use the debugging features demonstrated in this video for Node.js, you will need to first install Node.js. To follow along with the Python portion of the video, you'll need to install Python.
Here's the next video we recommend: Version Control
Pick another video from the list: Introductory Videos
Video outline
- Debugging that a sample Node.js app.
- Exploring the debugging user interface.
- Debugging a sample C# app.
- Set a breakpoint.
- View variables and watch variables
- Inspect the call stack and loaded scripts.
- Use the debug console.
- Debug a React app.
- Launch configurations.
- Conditional breakpoints.
- Edit mode.
- Debug in Microsoft Edge.
Next video
- Version Control - Learn the basics of Git version control.
- Introductory Videos - Review the entire list of videos.
Related resources
- Debugging - Official documentation for VS Code debugging.
- Integrated Terminal - Use the integrated terminal inside VS Code.