Debugging in VS Code
Debugging is a core feature of Visual Studio Code. In this tutorial, we will show you how to configure and use debugging basics. We will walk you through debugging a Node.js application.
Tip: To use the debugging features demonstrated in this video for Node.js, you will need to first install nodejs.
Outline
- Debugging that "just works".
- Using a
launch.json
configuration file. - Set regular and conditional breakpoints.
- Inspect your program's state and variables.
- Step through your source code and use the
skipFiles
option to debug "just your code." - Multi-target debugging.
Learn More
- Debugging - Official documentation for VS Code debugging.
- Integrated Terminal - Use the integrated terminal inside VS Code.
Next Steps
- Git Version Control - Learn the basics of Git version control.