Test it. Break it. Understand it.
Module 5 / Lesson 2

Debug with a hypothesis

Move from symptom to discriminating evidence.

18 minutes

State the symptom precisely

“Save is broken” is a starting complaint. “The interface shows success, but the assignment disappears after refresh” is a reproducible symptom. Note what changed, which users are affected and whether the issue is consistent.

Pick a test that separates explanations

Possible causes include a failed write, a wrong read query or local-only state. Inspect the save response, then reload the stored record. Explain what each observation would confirm or eliminate before gathering more logs.