php - PhpStorm 无法与 Xdebug 3 一起使用:已配置但 PhpStorm 未检测到 Xdebug
问题描述
我已经安装了 PhpStorm 2020.3.1 并安装了最新的 Xdebug,这是我的 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 左上角的按钮收听 Xdebug 并使用 Postman 发送请求时,我什么也没得到,PhpStorm 没有检测到 Xdebug。
如何解决这个问题?我的配置正确吗?
解决方案
推荐阅读
- cassandra - 在 Cassandra 中保存邮件内容
- airflow - Dag 依赖视图未显示 Airflow 2.1.3 中的 dag 列表
- python - 如何避免内部引用传递?
- android - 无法打开 MoPub 中介设置
- python - 使用python将列添加到csv文件
- html - 为什么屏幕尺寸缩小时我的元素的对齐方式会向左移动(使用引导程序)
- mysql - 在 mysql 查询中找不到语法错误
- apache-spark - 写入 CSV 而不放气
- word - 找到所有包含一些相同字母的单词,然后将它们全部转换为word中的书签
- python - 使用 scipy.stats.bernoulli 模拟 1/3 概率