Home > Database > Mysql Tutorial > Ubuntu13.04下配置Eclipse的Xdebug调试工具+火狐浏览器的easyXde

Ubuntu13.04下配置Eclipse的Xdebug调试工具+火狐浏览器的easyXde

WBOY
Release: 2016-06-07 16:01:44
Original
1503 people have browsed it

第一步:安装php_xdebug扩展,并查看是否安装成功了 [html] view plaincopyprint? sudo apt-get install php5-xdebug #安装命令 [html] view plaincopyprint? php -m #查看命令 第二步:在php.ini中配置xdebug扩展,在最后行加上如下代码 [html] view plainc

第一步:安装php_xdebug扩展,并查看是否安装成功了
[html] view plaincopyprint?在CODE上查看代码片派生到我的代码片

sudo apt-get install php5-xdebug #安装命令[html] view plaincopyprint?在CODE上查看代码片派生到我的代码片

php -m #查看命令
第二步:在php.ini中配置xdebug扩展,在最后行加上如下代码[html] view plaincopyprint?在CODE上查看代码片派生到我的代码片

[xdebug] xdebug.remote_enable = 1

xdebug_remote_host = "localhost" xdebug.remote_port = 9000

xdebug.remote_handler = "dbgp" zend_extension=/usr/lib/php5/20100525+lfs/xdebug.so
第三步:在Eclipse中配置Xdebug调试,首先菜单Window->Preferences->PHP->Debug->Installed Debuggers->XDebug 双击搞定一切

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template