XDebug option missing from Zend Studio 7…AGAIN!


I wanted to try out the Zend Studio 7 beta but AGAIN there was no option for XDebug showing up in the preferences despite the fact that XDebug works fine on my system.

I’m hoping it’s the same issue I had with Zend Studio 6. It seems Zend hates XDebug or something. People say PDT (upon which zend studio is based) works fine with XDebug but for some reason the Zend people chose to hard-code the XDebug option OUT of the Zend studio preferences.

After a lot of searching I finally tracked down remnants of the instructions that got XDebug to work in my old Zend Studio 6. I’ll repeat them here if they work for 7.

distreff – see dtaylor7’s post above yours for steps on how to get XDebug enabled again. Having a Mac, I started with the steps I’d worked out for PDT (http://www.makovec.net/software/39-software/55-eclipse-pdt-with-debug-on-leopard.html), then did the following from Terminal.app:

cd /Applications/Zend/Zend\ Studio\ for\ Eclipse\ -\ 6.0.1/plugins
mkdir disabled
mv com.zend.php.debug.* disabled
/Applications/Zend/Zend\ Studio\ for\ Eclipse\ -\ 6.0.1/ZendStudio.app/Contents/MacOS/ZendStudio -clean

After you’ve done all that from the command line, your XDebug options will be back. You can then quit out and go back to loading up ZSE from the desktop.

– http://devzone.zend.com/article/2930
– http://devzone.zend.com/member/5810-dmakovec

The specific commands that worked for me:

:: cd /Applications
:: cd Zend
:: cd Zend\ Studio\ -\ 7.0.0
:: cd plugins
:: mkdir disabled
:: mv com.zend.php.debug.* disabled
:: cd ..
:: cd ZendStudio.app/Contents/MacOS/
:: ./ZendStudio -clean

  1. #1 by Roy on September 22, 2009 - 5:35 am

    You can follow these instructions to enable it in Zend Studio (6 or 7), it is just that when using XDebug you won’t benefit all Zend Debugger goodies such as profiler.
    1. Close Zend Studio.
    2. Open for editing the file \plugins\com.zend.php_\plugin_customization.ini.
    3. Enable the parameter org.eclipse.ui.workbench/UIActivities.com.zend.php.debug.ui.XDebugActivity=true and save the file.
    4. Start Zend Studio with the ‘-clean’ switch (e.g. ZendStudio.exe -clean).
    5. Go to Window | Preferences, PHP | Debug | Installed Debuggers and verify that XDebug is in the list.

    Thanks for posting,

(will not be published)