Before you start
A small project, a coding assistant, version control and a reproducible error. Use a practice branch.
Why this lesson exists
Patrick’s Godot experiments improved when the agent could see the failure through logs, debug views and repeatable tests. Better evidence beats repeating “it is broken.”
Do the exercise
Freeze the symptom
Write the exact steps, expected result and actual result. Save the error text and the relevant screenshot. Note the device or environment.
Ask for ranked hypotheses
Request three likely causes and the cheapest observation that would distinguish them. Do not accept a rewrite before the cause is tested.
Apply one focused change
Make a checkpoint, inspect the proposed change and rerun the reproduction. Keep unrelated cleanup out of the patch so the result remains interpretable.
Test nearby behavior
Try the original failure plus one normal and one edge case. Save the evidence and a short explanation of the cause, not just “fixed.”
A prompt to adapt
Replace the bracketed parts with your own practice details.
Investigate this bug. Reproduction: [steps]. Expected: [expected]. Actual: [actual]. Evidence: [logs/files]. Rank likely causes and identify the smallest check for each. Implement the smallest supported fix, rerun the reproduction and test nearby behavior. Explain what remains unverified.
What this looks like
A character falling through a platform might be a collision layer, spawn position or timing issue. A debug view of collision shapes can distinguish these before a large code change.
Check your result
Use evidence from your output. A confident explanation from the AI is not enough.
- Someone else can reproduce the original symptom.
- The fix addresses an observed cause.
- Original and neighboring cases pass.
If it isn’t working
If the agent keeps changing unrelated files, stop and ask for the hypothesis and supporting evidence. Restore a checkpoint when an experiment makes the situation harder to understand.
Optional. Progress stays in this browser.
Where this came from
Adapted from the archived LinkedIn theme “I Told GPT to Take the Wheel. It Built Debugging Tools..” See the post coverage and editorial method.
Prepared September 2026. Tools and interfaces change; use current official setup instructions. Session lengths are estimates.