Docker Phpstorm



Hello,

  1. Docker Phpstorm Mysql
  2. Docker Phpstorm/php-71-apache-xdebug-26
  3. Docker Phpstorm Xdebug Phpunit
Docker phpstorm xdebug nginx

Phpunit docker phpstorm tests Setup a Let's Encrypt certificate in a AWS Elastic Load Balancer Managing PUT requests with file uploads in psr-7 and middleware PHP applications. Once you have configured Docker to deploy your development environment, we can start configuring PhpStorm to work with Docker. First we need to configure the Docker daemon with our PhpStorm, this.

Docker phpstorm xdebug nginx

I’m a bit confused using xdebug, docker for windows, and phpstorm…

i have xdebug configured in a container with PHP.
Here is what appears in my php.ini from within this container :

Docker Phpstorm Mysql

from this container i can’t access directly my Windows host IP, but i can access two IPs :
the docker host IP which is 172.17.0.1
and the docker IP i have from Windows (resolving docker) which is 10.0.75.2
why is there so many IPs ? what are there referring to exactly ?
i even can ping 10.0.75.1 which might be some virtual bridge of some kind ?

xdebug communicates on port 9000. i have bind port 9000 to 9000 for this container :

RequirementsPhp docker xdebug phpstorm

Docker Phpstorm/php-71-apache-xdebug-26

from my understanding this binds port 9000 from this container to port 9000 on 10.0.75.2 (docker from windows) ?
then what IP should i use for xdebug.remote_host ?
by default PHPStorm waits for some connection on port 9000, on local machine (Windows).
should I set what it calls a DBGp Proxy ? Oliver stone new book. Pointing to docker ? On port 9000 ?

Docker Phpstorm Xdebug Phpunit

for now i have tried xdebug.remote_host with 172.17.0.1 , 10.0.75.2 or localhost and could not get it to work yet.