Docker Xdebug remote_host setzen in Toolbox für PHPStorm


To debug with Xdebug and PHPStorm in the Docker Container, but gets the error message:

Connection was not established. Probably 'xdebug.remote_host=docker.for.win.localhost' is incorrect

this is due to the, that Docker in the Toolbox variant for Windows has the placeholder docker.for.win.localhost not filled. So the IP of the PHPStorm computer has to be set manually.

To do this, you manually set the value of xdebug.remote_host to 192.168.99.1 (the IP Docker sets for the host, can varnise) cli interpreter options:

 

Comments are closed.