Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have installed Xdebug in my Paragon server and I am trying to enable it in PhpStorm. But when I follow the steps I am unable to correctly validate the installation.

I have updated my php.ini file inside my php installation directory to the new version of Xdebug 3.0:

[Xdebug]
zend_extension = C:Laragoninphpphp-7.4.13-Win32-vc15-x64extphp_xdebug-3.0.0-7.4-vc15-x86_64.dll
xdebug.mode=debug
xdebug.client_port=9000

But I still keep on getting the validation errors in PhpStorm. I have also installed the Chrome extension for Xdebug, but I cannot seem to get it to work with PhpStorm.

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.4k views
Welcome To Ask or Share your Answers For Others

1 Answer

Xdebug 3 will be fully supported in PhpStorm 2020.3 version only, which currently has a RC build and will be released in next few days.

It is already supported since EAP #6 build: check this blog post for more info: https://blog.jetbrains.com/phpstorm/2020/11/phpstorm-2020-3-eap-6/


In PhpStorm 2002.2 and older you may just skip/ignore such Validation. It's there for info purposes only anyway (as it does not guarantee that the debug connection will actually work (e.g. due to firewall or other network related issues that this validation check does not check)).


P.S. Here is how that Validation screen looks in 2020.3 RC build for Xdebug 3 (PHP 8.0 here):

enter image description here

The same but when Xdebug 2.9.8 is used (PHP 7.3 where I still keep Xdebug 2):

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...