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!
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?)
Saturday Morning Comics!
Want another comic like this in your email every Saturday? Sign up here!