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 "just works".
- Run a sample Node.js app.
- Use a
launch.json
configuration file. - Single file debugging.
- Set a breakpoint.
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.