January 7, 2016
If you’ve written a line of code in any language, you’ve gotten into a state where you don’t necessarily know what the frig is going on. That thing – it’s right there in the template! Or right in that functions.php file, but nothing happens! Or the wrong thing happens! AAAAAAAARGH!
Sure, you can try adding “echo”, “print_r”, “var_dumps” and the like all over the place, but it’s messy, and there is a better way. With a little bit of set up (but not much – seriously), you too can debug like a champ. If you’ve never seen a real debugger before, or if you’ve just dabbled with one, this talk could change your life substantially for the better.