A Reverse Debugger for PHP…wait…WHAT?

      No Comments on A Reverse Debugger for PHP…wait…WHAT?

Honestly, when I originally tweeted this out I really wasn’t 100% sure what it did. You never know when you see things like “reverse debugger”. It’s one of those “I understand the words separately…” type of things. Then I watched the short video. HO-LY CRAP! Seriously, it is exactly what it says, it allows you to step debug forward AND backwards. Well, almost. You have to record the session first and then you can step forwards and backwards. Still it is a powerful tool.

The project is Don’tBug by Sidharth Kshatriya.

Look, just watch the video. Here’s I’ll even embed it so you don’t have to go clicking around to find it.

It hooks into any IDE that supports Xdebug which of course means Zend Studio, but also Eclipse PDT, Netbeans, and of course PHP Storm.

Oh yeah, the obligatory quote:

Dontbug is a reverse debugger (aka time travel debugger) for PHP. It allows you to record the execution of PHP scripts (in command line mode or in the browser) and replay the same execution back in a PHP IDE debugger.

Seriously, you’ve got to see it to fully grasp how awesome this could be.