Xdebug 3 & PhpStorm 2020.2.4

Xdebug 3 & PhpStorm 2020.2.4

我在使用 Xdebug 版本 3 和 PhpStorm 版本 2020.2.4 时遇到此错误:

Connection was not established. 
Cannot start debugger session with 'Xdebug 3.0.0' Validate installation

php.ini 配置:

xdebug.mode=develop
xdebug.start_with_request=yes
xdebug.client_port=9003

仅 2020.3 版本完全支持 Xdebug 3。