1.Install xdebug
sudo apt-get install php5-zdebug
or
download source code from http://www.xdebug.org/download.php
phpize
./configure --enable-xdebug --with-php-config=/usr/local/php5/bin/php-config
make
sudo make install
2.Configure eclipse per official wiki http://www.phpeclipse.com/wiki/Howto/XDebugAndPHPEclipse#no1
3.We need to manual to switch perspective to debug.
本文档提供了详细的步骤说明如何在系统中安装Xdebug,并按照官方指南在Eclipse中进行配置以支持PHP调试。首先介绍了通过包管理器或者源码方式安装Xdebug的方法,然后给出了在Eclipse中配置Xdebug的具体步骤。
554

被折叠的 条评论
为什么被折叠?



