Zend Studio for Eclipse is a commercial edition of Eclipse plus the PDT plugin and various other additions. Unfortunately Zend decided to disable the Xdebug support of the Eclipse PDT plugin. Nonetheless if you'd like to use Xdebug for debugging your PHP scripts, follow these simple steps to restore the Xdebug functionality of Eclipse.
How to enable Xdebug support
First you need to quit Zend Studio for Eclipse if it is still running.
- Got to your Eclipse folder, for this article for instance /usr/local/ZendStudio:
cd /usr/local/ZendStudio. - Enter the plugins folder (i.e. /usr/local/ZendStudio/plugins):
cd plugins. - inside the plugins folder create a new folder named disabled (i.e. /usr/local/ZendStudio/plugins/disabled):
mkdir disabled. - Now move all files starting with com.zend.php.debug into the disabled folder:
mv com.zend.php.debug* disabled. - Go back to your main Zend Studio for Eclipse folder and start it via:
./ZendStudio -clean. - Xdebug is available in the main preferences dialog under PHP Debugging.
If you're working on Windows or Mac OS X, the procedure is likewise - you just need to remember the differences on the command line.
Conclusion
In order to get Xdebug working you now need to setup your computer like it is required for Eclipse PDT. Your can find the manual at http://www.eclipse.org/pdt/documents/XDebugGuide.pdf.
The only drawback is that profiling via the Zend Debugger doesn't work anymore in Zend Studio. But for this I would suggest to use Xdebug and KCacheGrind.


Great post. Just what i needed. From a Zend point of view i can understand they only want us to use the ZendDebugger. But a bit of choice doesn't kill anybody.
Indeed it's quite to see Zend disabling this feature in their commercial version of Eclipse PDT - I mean we've paid them for Zend Studio for Eclipse. And just because there's Zend Debugger available it doesn't necessarily mean that you shouldn't have the choice of using Xdebug.
I expect Zend would just prefer you didn't know about XDebug, as it's one example of how much of their Platform product can be achieved through free, open source alternatives.
Thanks for the tip. I still haven't migrated to Studio for Eclipse yet.
Thanks for the tip! Really helped me out.