
Tried: :9003 (fallback through xdebug.client_host/xdebug.client_port).Ĭonfiguration File (php.ini) Path => /etc/php/8.2/cli ERR: Could not connect to debugging client. WARN: Creating socket for ':9003', poll success, but error: Operation now in progress (29). WARN: Could not discover client host through HTTP headers, connecting to configured address/port: :9003. Systemd Private Temp Directory => not enabled 'xdebug://nameserver' pseudo-host support => yes

'xdebug://gateway' pseudo-host support => yes Support Xdebug on Patreon, GitHub, or as a business: Įnabled Features (through 'XDEBUG_MODE' env variable) Tried: :9003 (fallback through xdebug.client_host/xdebug.client_port).

Php > xdebug_info() Xdebug: Could not connect to debugging client. Start the debugger VSCode extension PHP Debug, add some breakpoints, nothing happens. SAIL_XDEBUG_CONFIG="client_host="Īlso tried adding the client_host IP address as stated in the documentationĪdded the following lines to my php.ini (PHP 8.2): env variables: SAIL_XDEBUG_MODE=develop,debug,coverage Unable to make Xdebug work on Laravel Sail 10.x, to develop an API, developing in Linux Ubuntu 22.04 with VSCode.įollowed instructions for Sail Xdebug configuration
