I’m a great fan of the Zend Studio for Eclipse IDE. But there is one think that just didn’t feel right. At first i started out using the PDT. Free version of Zend Studio for Eclipse. In this IDE it was possible to switch debuggers. So you were not only forced to use the ZendDebugger. you could also choose to make use of the best debugger out there. XDebug. Although there is nothing wrong with the ZendDebugger. I just got used to XDebug.
So about an hour ago when i was reading my blog list i noticed a post from Max Horvath. In this post he explains how to enable the XDebugger in Zend Studio for Eclipse. Great news for a very slow monday morning. I will not copy his post so you can head over to Max’s Blog and read how to enable XDebug’s power.
Here is a document explaining how to enable XDebug in PDT: http://www.eclipse.org/pdt/documents/XDebugGuide.pdf
One small think i noticed though. Was that when i enabled XDebug according to Max’s post. After enabling it. I went to the Preferences > PHP > Debug tab and noticed there was no PHP Executable to select. So i headed over to the Preferences > PHP > PHP Executables and added a new PHP executable. This seemed to work.



Twitter
I am Thijs Lensselink a Webdeveloper from the Netherlands.
Hi Thijs,
sure you need to select a PHP executable in Eclipse’s preferences dialog … I didn’t write about it, because that’s part of the configuration of the Xdebug-integration of Eclipse (and descripbed in the linked PDF file).
Cheers, Max
Hi Max,
Thnx for the reply. I know it’s part of the configuring of XDebug for PDT. I went to the preferences > PHP > PHP Executables and changed the debugger from ZendDebugger to XDebug. this however did not provide me with a PHP Executable in Preferences > PHP > Debug. So i just added a new one. That seemd to do the trick.
Regards,
Thijs
Is there an archived version of Max’s blog entry? I tried following the link, but the IP has been re-assigned to a different site (rather ironically, to a former employer of mine)
Hello Phil,
I don’t think the site has been assigned to a new IP address. That’s probably internal office routing that’s showing a different site. But at the moment Max’s site seems to be down. I tried to search google’s cache. But no luck. Looks like you have to wait until he’s back up.
Cheers,
Thijs
Don’t bother use Xdebug with Zend Studio. XDebug does not receive any testing from the Zend Studio team. You can read more about this on the Zend Forum. I hope for their sake that they change this policy for their sake.
http://forums.zend.com/viewtopic.php?f=59&t=24113&p=108183#p108183
Yeah the XDebug support pretty much sucks now. When i wrote this i think ZS was still in version 7? But right now there is no way of getting this to work. I really hope they get this sorted out fast. Maybe sublime text 2 will offer some relieve :)
Thanks ThijsLensselink and Max………… you saved me hours of problems. In googling I barely caught on about ZEND IDE and XDEBUG not working. The passing reference to “PHP EXECUTABLES” solved my problems.