eclipse搭建xdebug调试环境
来源:互联网 发布:西安公路研究院java 编辑:程序博客网 时间:2024/05/16 05:46
调试对于程序开发来说是至关重要的,今天搞了下eclipse开发php的调试环境,准备工具如下:
eclipse-php中all in one的版本,里面已经包含了xdebug和zenddebug插件,下载xdebug.dll,可以到官网下载,下载和php相对应的版本,然后把该.dll放在php扩展目录ext下即可。
php.ini增加xdebug的配置如下:
[xDebug]
zend_extension = "D:/php5.4.7/ext/php_xdebug-2.2.1-5.4-vc9.dll"
;开启自动跟踪
xdebug.auto_trace = On
;开启异常跟踪
xdebug.show_exception_trace = On
;开启远程调试自动启动
xdebug.remote_autostart = On
;开启远程调试
xdebug.remote_enable = On
;收集变量
xdebug.collect_vars = On
;收集返回值
xdebug.collect_return = On
;收集参数
xdebug.collect_params = On
xdebug.trace_output_dir="e:/php/debuginfo"
xdebug.profiler_enable=On
xdebug.profiler_output_dir="e:/php/debuginfo"
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
eclipse中php插件只要配置两个地方即可,如下:
下面运行下debug即可在断点中停下来了。
- eclipse搭建xdebug调试环境
- eclipse搭建xdebug调试环境
- eclipse搭建php-XDebug调试环境
- 【转】 Eclipse+php插件+Xdebug搭建PHP开发/调试环境
- Eclipse for php + Xdebug搭建PHP的调试环境
- eclipse+php插件+Xdebug搭建php调试环境
- Eclipse for php + Xdebug搭建PHP的调试环境
- Eclipse for php+Xdebug,搭建php单步调试环境
- phpStorm + xdebug 调试环境搭建
- php+xdebug+eclipse环境搭建
- php调试环境搭建--zendstudio+xdebug
- PhpStorm+xdebug搭建php远程调试环境
- eclipse pdt/wamp/xdebug调试环境配置
- Eclipse for PHP + Xdebug搭建PHP环境
- Eclipse+php插件+Xdebug搭建PHP完美开发/调试环境指南
- Eclipse+php插件+Xdebug搭建PHP完美开发/调试环境指南
- PHPStorm Xdebug Remote 调试环境搭建(不依赖本地环境)
- NetBeans7.0 搭配XDebug搭建PHP整合开发调试环境
- Ubuntu下搭建Android开发环境
- Lua - dofile() , require()
- 10 个简单的 WordPress 技巧
- RequestDispatcher
- 一位川大师兄的计算机之路
- eclipse搭建xdebug调试环境
- ios6有什么新功能 ios6新功能详解(图)
- BIOS中断大全
- 小米笔试:验证输入的表达式是不是正确的四则运算,不考虑负数
- 网易笔试:字符串回文分割
- 亚马逊面试:输出字符串中所有最长的无重复字符的子字符串
- VC多对话框界面程序,界面之间的切换问题
- 关于随机数生成器问题
- java多线程-线程状态