Intro to Debugging C++ in VS Code TL;DR How to set up and run the C++ debugger in VS Code Video Overview Download C++ extension on VS Code Create tasks.json for building cpp app Create launch.json for launching debugger Go to debugger tab (cmd + shift + d) and press run Ensure that it pauses in main Add break points in debugger UI and press play Show breakpoints, variables, watchlist Show debug terminal (for possible errors) Titles Intro to Debugging C++ in VS Code How to Debug C++ in VS Code Timestamps 00:00 VS Code Debugger Overview 00:42 Microsoft C++ Extension 01:23 Configure Build Task 03:09 Test C++ Build Task 03:55 Launch Debugger Setup 06:14 Running VS Code Debugger 08:09 Breakpoint Editor UI 09:16 VS Code Debugger Tutorial References Google Gemini and ChatGPT