Audience: beginners learning how to fix programs.

Learning goal: explain a simple debugging workflow.

Debugging starts by reproducing an error, isolating the cause, and verifying a fix. Logging or print statements help trace program flow.

Check for understanding: Why is reproducing an error the first step?