recentpopularlog in

dirtystylus : ide   3

Debug a PHP app in a Docker container with Xdebug | Blog |
set xdebug.remote_host to the IP address of your Mac

When the LAMP stack is running in a container though, Docker’s network stack sits between the running processes inside the container and the host machine that’s running Docker Machine. This means that when I run a web server in a container, then open that site in my browser, the web server inside the container will see that the request originated from a host with an IP like which is the IP address of the host (Mac in my case) on the virtual network stack that Docker runs on the host.
docker  php  xdebug  vscode  ide  webdev  debugging  kalabox 
january 2017 by dirtystylus

Copy this bookmark:

to read