Home > Backend Development > PHP Tutorial > eclipse php调试环境配备

eclipse php调试环境配备

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:12:00
Original
910 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下也有个,但是我在那里配置的不可以) 文件:

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

;载入Xdebugzend_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 = onxdebug.remote_port=9990xdebug.profiler_output_dir="d:/wamp/php/log"   ?
Copy after login
Related labels:
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
Latest Issues
sublime xdebug problem
From 1970-01-01 08:00:00
0
0
0
PHP: Xdebug access denied but exits with code 0
From 1970-01-01 08:00:00
0
0
0
Install Xdebug for PHP 7.4 on M1 Apple
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template