gpt4 book ai didi

php - Xdebug 3-设置 'xdebug.remote_***'已重命名,请参阅升级指南

转载 作者:行者123 更新时间:2023-12-03 15:13:23 28 4
gpt4 key购买 nike

我刚刚在OSX上安装了Xdebug v3.0.0beta1,并试图在PhpStorm 2020.1上使用它,但是我得到了:

Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed,see the upgrading guide athttps://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable(See: https://xdebug.org/docs/errors#CFG-C-CHANGED) Xdebug: [Config]The setting 'xdebug.remote_host' has been renamed, see the upgradingguide athttps://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host (See:https://xdebug.org/docs/errors#CFG-C-CHANGED) Xdebug: [Config] Thesetting 'xdebug.remote_mode' has been renamed, see the upgrading guideat https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_mode(See: https://xdebug.org/docs/errors#CFG-C-CHANGED) Xdebug: [Config]The setting 'xdebug.remote_port' has been renamed, see the upgradingguide athttps://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port


并且提供的链接只会导致带有错误的图像。
我的问题是要设置的正确设置是什么,以及在哪里实际更改它们,因为我的php.ini文件中没有关于xdebug的信息。

最佳答案

Xdebug 3仅受PhpStorm 2020.3 版本支持,该版本当前处于EAP阶段(早期访问计划),并将在大约1个月的时间内发布。
目前,您将必须坚持2020.1 IDE版本的Xdebug 2.9或尝试最新的2020.3 EAP构建:https://www.jetbrains.com/phpstorm/nextversion/
最新的 EAP#6 构建中支持Xdebug 3:https://blog.jetbrains.com/phpstorm/2020/11/phpstorm-2020-3-eap-6/

至于Xdebug 3升级方面,对Xdebug设置(php.ini)进行了更改-请检查此链接:https://3.xdebug.org/docs/upgrade_guide
Xdebug 3相关文档当前托管在一个临时https://3.xdebug.org/域中。

如果愿意,可以将2020.1 PhpStorm与Xdebug 3一起使用-只需正确配置Xdebug 3。
在Windows 10上使用Xdebug 3.0.0beta1,PHP 7.4 x64对我来说效果很好-看到这个问题:https://stackoverflow.com/a/64820427/783119
您看到的那些错误表明您的php.ini中仍然具有Xdebug 2配置值。

关于php - Xdebug 3-设置 'xdebug.remote_***'已重命名,请参阅升级指南,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64776338/

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