I have been writing PHP code for 10 years now and have used a variety of ways to debug my code – except the actual runtime debugging! I have used echo statements and log files to debug and solve problems. I knew there is XDebug and Zend Debugger, but never tried them.
Today, I downloaded, setup and used Zend Debugger for the first time. And I loved it! It was awesome to see variable watch, breakpoints and the like. Just loved it!
Why did I use the debugger? I’ve been using Flex Builder myself for last one year heavily and think the debugger is indispensable. I have done some .NET code earlier and love debugger there too. For PHP, it was more like “I don’t need a debugger!” so far.
I dropped that today and embraced a debugger. And I am loving it so far!
Do you use a PHP Debugger?
I cannot imagine to code without having a debugger to be honest. PHP wise I use XDebug at the moment with PDT. Although I also wanted to test out the Zend debugger, too.