Xdebug Could not connect to debugging client. Tried: localhost:9000 Xdebug Could not connect to debugging client. Tried: localhost:9000 docker docker

Xdebug Could not connect to debugging client. Tried: localhost:9000


I just want to share how I migrated from 2.x to 3.x

;Xdebug 2.X;xdebug.remote_enable=true;xdebug.remote_port=9000;xdebug.remote_host=172.17.0.1;;xdebug.remote_autostart=1;xdebug.remote_connect_back=0;xdebug.idekey=PHPSTORM;xdebug.show_error_trace = 1;xdebug.max_nesting_level=250;xdebug.var_display_max_depth=10;xdebug.remote_mode=req;Xdebug 3.Xxdebug.mode=debugxdebug.client_port=9000xdebug.client_host=172.17.0.1xdebug.remote_handler=dbgpxdebug.start_with_request=yesxdebug.discover_client_host=0xdebug.idekey=PHPSTORMxdebug.show_error_trace = 1xdebug.max_nesting_level=250xdebug.var_display_max_depth=10xdebug.log=/var/log/xdebug.log


Please, update your xdebug file to:

xdebug.mode=debugxdebug.start_with_request=yesxdebug.discover_client_host=1


I found that using

xdebug.log_level=0

stopped the excess logs.