# Finding Bugs with the Debugger

When a program gives a wrong answer with no error to read, VS Code's debugger pauses it at a breakpoint and runs it one line at a time with Step Over and Step Into, while the Variables panel and Watch show every value change, until the line that goes wrong shows itself.

![Cheat sheet: Finding Bugs with the Debugger](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/d768abe8447e4e5d920a277cdd1ec2e4.webp)

- Category: Python
- Level: Apprentice
- Tags: Breakpoint (python), Debugger (python), python, Step Into, Step Over
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/python-debugging-with-breakpoints-cheat-sheet
