首页 > 解决方案 > PhpStorm 无法与 Xdebug 3 一起使用:已配置但 PhpStorm 未检测到 Xdebug

问题描述

我已经安装了 PhpStorm 2020.3.1 并安装了最新的 Xdebug,这是我的 phpinfo 输出:

phpinfo 输出

我的 php.ini 是:

[xdebug]
xdebug.start_with_request=yes
xdebug.discover_client_host=true
xdebug.remote_cookie_expire_time = 3600
xdebug.client_host=localhost
xdebug.client_port = 9100
xdebug.remote_handler = dbgp
xdebug.idekey=PHPSTORM
xdebug.mode = debug

这是我的 PhpStorm 配置:

phpstorm_configuration

我的问题是当我单击 PhpStorm 左上角的按钮收听 Xdebug 并使用 Postman 发送请求时,我什么也没得到,PhpStorm 没有检测到 Xdebug。

如何解决这个问题?我的配置正确吗?

标签: phplaravelxamppphpstormxdebug

解决方案


推荐阅读