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.
转载于:https://blog.51cto.com/daven/179249