Wasted 20 minutes hunting semicolons on line 40 before a guy in a Discord chat asked if I'd checked line 12
I used to scroll from the top and read every line until I found the bug, but now I go straight to the exact line number in the error message and start there, and that one habit got my debugging time from 20 minutes down to about 2, so what's the dumbest shortcut you wish you'd learned earlier?