First, the IE8 debugger allows statement-level debugging. It doesn’t matter how many statements are on the same line of code, it very clearly highlights in yellow the statement being executed. You want to set a breakpoint on the control condition of a
for loop? No problem. Want to step through each variable initialized with a single
The Immediate Window is something that’s been a longtime coming. It’s not as pretty as Firebug’s, and not as functional, but it does enough to make simple code execution easy. I hope at some point they add a way to clear the console and some way to output messages to it. This is the one feature that needs a lot more love.
Want more? You can debug code that is interpreted by
eval(). You can debug inline HTML event handlers. I’m not sure why this hasn’t been done before, but it’s huge not to mention impressive.
Disclaimer: Any viewpoints and opinions expressed in this article are those of Nicholas C. Zakas and do not, in any way, reflect those of my employer, my colleagues, Wrox Publishing, O'Reilly Publishing, or anyone else. I speak only for myself, not for them.