eclipse php调试环境配备

WBOY
Release: 2016-06-13 12:56:02
Original
739 people have browsed it

eclipse php调试环境配置

? ? ? 弄了我一天,看了很多的写法;但都是大同小异。并且自己的就是不能正常使用。

?

? ? 我的环境是使用 wamp一键安装环境。

? ? 在这里我只说明注意的地方:

? ?

?

? ?其一:下载后的xdebug文件放到 php/ext 下后一定要改名为php_xdebug.dll

? ?其二:xdebug.remote_port=9990 的端口和eclipse一致。

? ? ? ? ? ? ?补充:57%的问题

? ? ? ? ? ? ? ? ? ? ? ?是端口最好不要,还是以然后9000,就不会存在 ?waiting for session....

?其三:一定是配置 apache/bin/php.ini (因为在php下也有个,但是我在那里配置的不可以) 文件:

? ? ? ? ? ? ? ? ? ?在其后面加入:

;载入Xdebug
zend_extension_ts="D:/wamp/php/ext/php_xdebug.dll"

;xdebug配置
[Xdebug]
;开启自动跟踪
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.remote_port=9990
xdebug.profiler_output_dir="d:/wamp/php/log"   ?
Copy after login
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!