When you’re stuck on a bug, write down the exact input → expected output → actual output in one sentence each.
It forces your brain to stop “vibe debugging” and instantly reveals whether the problem is:
wrong assumptions about the input
a missing edge case
state changing earlier than you think
or logic that’s correct… but in the wrong place
Bonus: once it’s written, the fix usually becomes obvious.