![A stick figure smiling](/images/welcome.jpg)
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".](/images/uploads/the-pocket-guide-to-debugging-wizard-zines-15.png)
read the transcript!
Here’s a classic (but still very effective!) way to get started:
- find the line of code where the error happened
- trace backwards to investigate what could have caused that error. keep asking “why?”
example: - There’s an error on line 58… - that’s because this variable has the wrong value… - the value is set by calling this function… - that function is making an HTTP request to the API… - the API response doesn’t have the format I expected! Why is that?
In the corner of the page, there is an illustration of a goofy-looking bug with a long neck and curly antennae saying “Chase me!”
Saturday Morning Comics!
Want another comic like this in your email every Saturday? Sign up here!