Xdebug 3 - 设置“xdebug.remote_***"已重命名,请参阅升级指南 [英] Xdebug 3 - The setting 'xdebug.remote_***' has been renamed, see the upgrading guide

查看:369
本文介绍了Xdebug 3 - 设置“xdebug.remote_***"已重命名,请参阅升级指南的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I just installed Xdebug v3.0.0beta1 on my OSX and tried to use it on PhpStorm 2020.1, but I get this :

Xdebug: [Config] 设置 'xdebug.remote_enable' 已重命名,请参阅升级指南https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_enable(参见:https://xdebug.org/docs/errors#CFG-C-CHANGED) Xdebug: [配置]设置 'xdebug.remote_host' 已重命名,请参阅升级指南在https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host(看:https://xdebug.org/docs/errors#CFG-C-CHANGED) Xdebug: [配置]设置 'xdebug.remote_mode' 已重命名,请参阅升级指南在 https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_mode(参见:https://xdebug.org/docs/errors#CFG-C-CHANGED) Xdebug: [配置]设置 'xdebug.remote_port' 已重命名,请参阅升级指南在https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port

Xdebug: [Config] The setting 'xdebug.remote_enable' has been renamed, see the upgrading guide at https://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 upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_host (See: https://xdebug.org/docs/errors#CFG-C-CHANGED) Xdebug: [Config] The setting 'xdebug.remote_mode' has been renamed, see the upgrading guide at 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 upgrading guide at https://xdebug.org/docs/upgrade_guide#changed-xdebug.remote_port

并且提供的链接只会导致带有错误的图像.

And the links provided lead to nothing but an image with bugs.

我的问题是设置什么是正确的设置以及在哪里实际更改它们,因为我的 php.ini 文件中没有关于 xdebug 的内容.

My question is what are the right settings to set and where to actually change them since i have nothing about xdebug in my php.ini file.

推荐答案

Xdebug 3 将仅从 PhpStorm 2020.3 版本支持,目前处于 EAP 阶段(Early Access Program)并将发布在大约 1 个月的时间内.

Xdebug 3 will be supported from PhpStorm 2020.3 version only, which is currently in EAP stage (Early Access Program) and will be released in about 1 month time.

目前,您必须为 2020.1 IDE 版本坚持使用 Xdebug 2.9 或尝试最新的 2020.3 EAP 版本:https://www.jetbrains.com/phpstorm/nextversion/

For the moment you will have to either stick to Xdebug 2.9 for your 2020.1 IDE version or try latest 2020.3 EAP build: https://www.jetbrains.com/phpstorm/nextversion/

最新的 EAP #6 版本支持 Xdebug 3:https://blog.jetbrains.com/phpstorm/2020/11/phpstorm-2020-3-eap-6/

Xdebug 3 is supported in the most recent EAP #6 build: https://blog.jetbrains.com/phpstorm/2020/11/phpstorm-2020-3-eap-6/

至于 Xdebug 3 在更改 Xdebug 设置 (php.ini) 方面的升级 - 检查此链接:https://3.xdebug.org/docs/upgrade_guide

As for the Xdebug 3 upgrade in terms of making changes for Xdebug settings (php.ini) -- check this link: https://3.xdebug.org/docs/upgrade_guide

Xdebug 3 相关文档目前托管在一个临时的 https://3.xdebug.org/ 域中.

Xdebug 3 related docs are currently hosted on a temporary https://3.xdebug.org/ domain.

如果您愿意,您可以将 2020.1 PhpStorm 与 Xdebug 3 一起使用——只需正确配置 Xdebug 3.

在 Windows 10 上使用 Xdebug 3.0.0beta1、PHP 7.4 x64 对我来说效果很好——请参阅此问题:https://stackoverflow.com/a/64820427/783119

It works fine for me with Xdebug 3.0.0beta1, PHP 7.4 x64 on Windows 10 -- see this question: https://stackoverflow.com/a/64820427/783119

您看到的那些错误表明您的 php.ini 中仍有 Xdebug 2 配置值.

Those errors that you see indicate that you still have Xdebug 2 config values in your php.ini.

这篇关于Xdebug 3 - 设置“xdebug.remote_***"已重命名,请参阅升级指南的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆