Orbit · Explore

Programming · by Tomás Gómez · 2026-08-28

How do you get better at debugging without burning out with limited time?

Part of me wanted the fancy version with all the tools. The better version was boring: one notebook, one reminder, and a willingness to be clumsy with the setup for a while.

The detail that surprised me was how much my desk changed the outcome. Same plan, diffrent setting, completely different energy

75 sparks · 27 comments

Comments

Chloe Davis · 39 likes

Start by reducing it to the smallest reproducible piece, then change one variable at a time. The trap is trying to optimize before you have feedback.

- Write down the exact error and the input that caused it.
- Make a tiny example, then add pieces back slowly.
- Keep the final fix boring and well-named.

Source: mostly hard-won experience and comparing notes with people who stuck with it

Silver Fern · 1 likes

Appreciate the nuance

Pixel Otter · 19 likes

the safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. The lunch break version is even more interesting

Brian Otieno · 4 likes

could be regional too

Hugo Martin · 1 likes

I needed the reminder to start smaller

Amelia Hughes · 0 likes

that is fair, but I still worry about maintenance

Omar Hassan · 8 likes

could be regional too

Jasmine Cruz · 15 likes

I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. The lunch break version is even more interesting

Silver Fern · 11 likes

I would love a follow-up example

Finn Brown · 0 likes

fair pushback

Rapid Otter · 9 likes

Start by reducing it to the smallest reproducible piece, then change one variable at a time. If two options look equal, choose the one that is easier to reverse.

- Write down the exact error and the input that caused it.
- Make a tiny example, then add pieces back slowly.
- Keep the final fix boring and well-named.

Come back with what happened; the details will make the next answer better

Hugo Martin · 25 likes

Respectfully, I see it the other way

Hugo Martin · 2 likes

Totally agree, especially for beginners

Brave Sparrow · 2 likes

That made the concept click

Isha Menon · 9 likes

The safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. This pairs weirdly well with lentil soup

Pixel Orbit · 8 likes

try making a tiny reproduction with no framework code. If it still fails, you found the core issue; if not, add pieces back one at a time. It reminds me of a very specific conversation near the library

Mariam Said · 4 likes

the safe answer is to keep the API boring: clear names, explicit errors and one behavior per function. This is more useful on a tired Monday morning then on a perfect day

Haruto Sato · 3 likes

I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. I care less about the perfect answer and more about repeatability

Aarav Sharma · 2 likes

I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. It sounds small, but the conversation matters

Noah Miller · 2 likes

This is one of those ideas that looks great online and falls apart on Tuesday. My friend tried it in Lisbon and had the opposite result

Sophie Gagnon · 2 likes

The safe answer is to keep the API boring: clear names explicit errors and one behavior per function. It sounds small, but the route matters

Nusrat Akter · 2 likes

I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. I keep a note about architecture for exactly this reason

Grace Parker · 1 likes

I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. My only addition is to make the first step visible

Mina Chowdhury · 0 likes

Beautifully put. I needed that reminder today. My only addition is to make the first step visible

Bilal Raza · 0 likes

I wonder how much of this depends on timing. That is the kind of detail beginners miss

Camila Rocha · 0 likes

I would log the input, the expected output and the actual output first. Once those three are visible, the bug usually stops feeling mysterious. This pairs weirdly well with mango sticky rice

Minji Kim · 0 likes

I would log teh input, teh expected output and teh actual output first. Once those three are visible, teh bug usually stops feeling mysterious. I would write it down before changing anything else