I get this error when using Xdebug version 3 with PhpStorm version 2020.2.4 :
Connection was not established.
Cannot start debugger session with 'Xdebug 3.0.0' Validate installation
php.ini Config:
xdebug.mode=develop
xdebug.start_with_request=yes
xdebug.client_port=9003
phpinfo()
output captured in the same way as you are trying to debug.xdebug_info()
output will print just that as well. 4) What Xdebug log has to say about it 5) Screenshots are welcome as well. – Lodgerdevelop
mode (xdebug.mode=develop
) does not establish any debugger sessions. It's for runtime helpers/extra error info etc: xdebug.org/docs/develop . For actual debugging/breakpoints you needdebug
mode. – Lodger