我在PHP本地安装中已经完整安装了Xdebug,但是当我尝试在Sublime Text项目中运行Xdebug时,由于某种原因,它无法识别任何断点。到目前为止,我已经尝试了很多方法来使它起作用。
{
"folders":
[
{
"follow_symlinks":true,
"path": "."
}
],
"settings":
{
"xdebug":
{
"url": "http://localhost:9312/simplephp/"
}
}
}
php.ini:
[xdebug]
zend_extension = c:\wamp64\bin\php\php7.3.12\ext\php_xdebug-2.9.8-7.3-vc15-x86_64.dll
xdebug.remote_enable=1
xdebug.force_display_errors=on
xdebug.force_error_reporting=1
xdebug.remote_host=localhost
xdebug.remote_port=9312
xdebug.remote_autostart=on
xdebug.remote_log="/c/wamp64/www/xdebug/xdebug.log"
启用了Chrome Xdebug扩展程序。
试图更改端口,寻找阻塞端口等的实例,但没有发现。
目前也没有任何内容写入日志(这是一个空的txt文件)。
任何建议都会很棒。