DEV Community

Discussion on: What's the best thing to do when you've run into a debugging dead end?

Collapse
 
schwad profile image
Nick Schwaderer

Something I heard from a mentor in a coding school five years ago.

Ask yourself:

Could it be simpler?

The number of times that I have lost hours of awful rabbit-hole coding when it was just a typo. Or my server wasn't running. You wouldn't believe it. This advice applies for me time and again.

I keep morale up by reminding myself I've made it this far coding, no bug has destroyed me (yet).