
(more info:, and a "feature request" to improve it: ) Xdebug.log=/var/www/storage/logs/xdebug."mdl_", // all ` to Tools > Databases > user parameters Xdebug: Could not connect to debugging clientĪnd added: xdebug.client_host=įollowing LazyOne's comment I updated to Xdebug v3 configuration settings. Xdebug.remote_log=/var/Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-( RUN pecl install xdebug & docker-php-ext-enable xdebugĪnd this is my original Xdebug configuration: I install Xdebug in the following way in my php-fpm Dockerfile: # Install xdebug Thanks to LazyOne's I took another look into the configuration and found out that the Step Debugger is disabled. If I try to use Debugger Configuration validation in PhpStorm I get the following: There is no blocking you would expect from breakpoints and no callback to PhpStorm. I run the application in the browser with Xdebug Helper enabled. I am listening in the PhpStorm for Xdebug connection (with breakpoints throughout the code): I use Chrome's Xdebug Helper plugin to send the session keyĪnd in phpinfo() I can see that the PHP receives the Xdebug session key: Using phpinfo() I get following php configuration:Īnd I have the following PhpStorm configuration:ĭBGp Proxy (Don't really think is relevant)

docker/php/local.ini:/usr/local/etc/php/conf.d/local.ini


Inside docker-compose.yaml I have following configuration for my app container: version: "3.7"Ĭommand: /var/www/docker/php/application-init.sh I read different articles and other threads, but still it's not working. I am trying to make Xdebug work for Docker container on Windows with PhpStorm.
