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.

By

Updated

Cheat sheet: Finding Bugs with the Debugger
Category
Python
Level
Apprentice
Tags
Breakpoint (python), Debugger (python), python, Step Into, Step Over