Skip to main content
← All courses

VSC-105Premier Track

Visual Studio Code Mastery · Step 5 of 15

Debugging in VS Code

Stop guessing why your code broke — learn to watch it run line by line in VS Code.

Start Free — 14 Days Included with Pro — no per-course charge

What you’ll walk away with

  • Set and use breakpoints in the Run and Debug view to pause code exactly where you need to inspect it
  • Configure launch.json so debugging actually starts correctly for your specific project setup
  • Write conditional breakpoints that only trigger when a specific condition is met, saving time on repetitive bugs
  • Use Logpoints to log values without littering your code with console.log statements
  • Walk through a real, hands-on debugging session to find and fix an actual issue using these tools together

Questions people ask before they start

Do I need debugging experience before starting this course?

No. The course starts with the basics of breakpoints and the Run and Debug view, then builds up to launch.json configuration and more advanced techniques like conditional breakpoints and Logpoints.

Is this course specific to VS Code, or does it cover other editors?

It's entirely focused on VS Code's built-in debugging tools — breakpoints, the Run and Debug view, launch.json, conditional breakpoints, and Logpoints.

What's the difference between a regular breakpoint and what I'll learn about conditional breakpoints and Logpoints?

A regular breakpoint always pauses execution when hit. The course covers conditional breakpoints, which only pause when a condition you set is true, and Logpoints, which let you log information without stopping execution or adding console.log statements to your code.

Why does launch.json matter if I can just click 'Run'?

The launch.json lesson covers how debugging actually starts under the hood — configuring it properly means debugging works the way you expect for your project instead of behaving unpredictably or failing to attach.

Is there a practical exercise, or is it all concept explanations?

The final lesson, 'Hands-On: Debug a Real Issue,' has you apply breakpoints, launch.json, conditional breakpoints, and Logpoints together to track down and fix an actual bug.

How does this fit into AI University's focus on building software with AI?

This course teaches you how to verify what your code — including AI-generated code — is actually doing at runtime, rather than just trusting it or guessing when something goes wrong.

Visual Studio Code Mastery track

This course is step 5 of 15. Finish all 15 to complete the track.

  1. Step 1Welcome to Visual Studio CodeVSC-101 · 4 lessons
  2. Step 2The Editor TourVSC-102 · 4 lessons
  3. Step 3Workspaces & Multi-Root ProjectsVSC-103 · 4 lessons
  4. Step 4Editing Like a ProVSC-104 · 4 lessons
  5. Step 5Debugging in VS CodeVSC-105 · 4 lessons
  6. Step 6Git IntegrationVSC-106 · 4 lessons
  7. Step 7Extensions & the MarketplaceVSC-107 · 4 lessons
  8. Step 8The Integrated Terminal & TasksVSC-108 · 4 lessons
  9. Step 9Testing in VS CodeVSC-109 · 4 lessons
  10. Step 10Remote DevelopmentVSC-110 · 4 lessons
  11. Step 11Settings, Sync & ProfilesVSC-111 · 4 lessons
  12. Step 12AI Agents in VS CodeVSC-112 · 4 lessons
  13. Step 13Advanced Debugging & ProfilingVSC-113 · 4 lessons
  14. Step 14Multi-Language DevelopmentVSC-114 · 4 lessons
  15. Step 15Power-User ProductivityVSC-115 · 4 lessons

The full track

Included with AI University Pro

Course path · VSC-105 · Debugging in VS Code