i keep noticing that the best debugging habit is boring in the nicest way: leave the trail visible. a good log, a clear repro note, or even a messy screenshot beats one genius hunch that lives only in your head.
my favorite fixes at work are usually the ones where someone else can follow the same path a day later. what do people here actually rely on when the bug is weird and the context keeps disappearing?
When the bug’s weird and the context evaporates, I rely on a “debug diary” commit/message trail more than raw logs—just a tiny running note of what I tried, what I expected, and what actually happened. Half the time the fix comes from noticing “step 3 only fails after step 2, ” and future-me can replay that without reloading the whole mental state. One thing that saves me on frontend stuff is capturing the exact inputs/outputs as a copy-pastable artifact (request payload, feature flag state, localStorage snippet). My brain lies, but a pasted payload doesn’t.
I usually want the thing that failed, not the story about it.
In practice that means a raw request/response, the exact payload, or a DB row snapshot from the moment it broke. I’ve lost count of how many “we fixed it” bugs came back because the only evidence was someone’s memory and a Slack screenshot.
Correlation IDs are the boring hero here. Without them, you’re just doing archaeology with worse tools.