gpt4 book ai didi

xdebug - 使用 sublime text 2 运行 xdebug

转载 作者:行者123 更新时间:2023-12-04 05:38:36 26 4
gpt4 key购买 nike

所以我试图让 sublime text 2 与 x-debug 一起运行我已经安装了

Kindari-SublimeXdebug



我有 wamp(我启用了 xdebug )
这是 php.ini 配置
; XDEBUG Extension

zend_extension =

"c:/wamp/bin/php/php5.3.10/zend_ext/php_xd

ebug-2.1.2-5.3-vc9-x86_64.dll"

[xdebug]
xdebug.remote_enable = On
xdebug.profiler_enable = On
xdebug.profiler_enable_trigger = On
xdebug.profiler_output_name =

cachegrind.out.%t.%p
xdebug.profiler_output_dir = "c:/wamp/tmp"
xdebug.remote_connect_back = On
xdebug.remote_autostart = On

但仍然每次我尝试通过 sublime 连接到它时:
Xdebug : is not running

即使在我的 phpinfo() 中;它表明它可能运行..
抱歉,我还是 x-debug 和 sublime 的新手......
提前致谢

最佳答案

我认为您需要将以下行添加到 php.ini 中的 xdebug 配置中:

xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"

关于xdebug - 使用 sublime text 2 运行 xdebug,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11586804/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com