gpt4 book ai didi

PhpStorm 10 + PHP 7.0.3 + xDebug 2.4.0RC3 不工作

转载 作者:行者123 更新时间:2023-12-02 21:32:44 25 4
gpt4 key购买 nike

我已遵循我发现的所有建议,但无法让 PhpStorm 与 PHP 7 和 xDebug 一起使用。我确实让它与 PHP 5.6 一起工作。

Xdebug 正在由 PHP 加载。我在 phpinfo() 输出中进行了验证。我已将 PhpStorm 切换为使用 PHP 7 版本,它还将正确的调试器列为 xdebug 2.4.0RC3

我的 xdebug 设置是:

zend_extension = "/usr/local/opt/php70-xdebug/xdebug.so"
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1
xdebug.remote_port = 9000
xdebug.remote_host = 127.0.0.1
xdebug.scream = 0
xdebug.cli_color = 1
xdebug.show_local_vars = 1
xdebug.idekey = PHPSTORM

我安装了 xdebug chrome 扩展,并且它正确添加了 Cookie:XDEBUG_SESSION=PHPSTORM;。我还在 PhpStorm 中启用了调试监听器。

任何人都可以建议我还能做什么来尝试触发我的断点吗?

最佳答案

因此,就我而言,我发现通过将端口从 9000 移动到 9001 即可修复。我猜其他东西已经在使用默认端口了。问题解决了!

关于PhpStorm 10 + PHP 7.0.3 + xDebug 2.4.0RC3 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35531546/

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