Skip to Content
Navigation:

A stick figure smiling

Here's a preview from my zine, The Pocket Guide to Debugging! If you want to see more comics like this, sign up for my saturday comics newsletter or browse more comics!

Image of a comic. To read the full HTML alt text, click "read the transcript". get the zine!
read the transcript!

When you can’t reproduce a bug locally, it’s tempting to just try random fixes and pray. Resist the temptation!

Some ways to get information:

  • try to reproduce the environment where it happened
  • ask for screenshots / screen recordings
  • add more logging, deploy your code, and repeat until you understand what caused the bug
  • read the code VERY VERY carefully (incredibly boring but it actually does work sometimes)
  • do your experimentation somewhere where you can reproduce the bug (on a staging server? on someone else’s computer?)