Debugging is not just about finding errors. It's about making mistakes on purpose, really loudly, and with great fanfare.
Step 1: Press F5 repeatedly until you get tired.
Step 2: Add a bunch of console logs. The more logs, the merrier!
Step 3: Pretend you're a mad scientist, cackling maniacally as your program crashes.
Back to Table of Contents