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!
One of the easiest ways to start is to save a copy of the buggy code and its inputs/outputs:
An illustration of stick figure wearing a top hat. Beside them is a bug in a mason jar.
person (thinking): “don’t touch anything! we need to preserve evidence!”
Depending on the situation, you might want to: - make a git commit of the buggy code! (on a branch, just for you) - save the input that triggered the bug - save logs/screenshots to analyze later
Saturday Morning Comics!
Want another comic like this in your email every Saturday? Sign up here!