您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

eclipse php调试环境配备

2024/2/25 8:19:27发布24次查看
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 ?
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product