The host is a MAC OS with Docker installed and with a container with php and xdebug configured.
I try to start a debug session in IntelliJ but it is not working.
My hypothesis is that since the host does not find the Docker container, the IDE is also unable to find the container. Here is an example of how xdebug work.
When I try to ping my host this is what I find:
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' 64ad351e115f
// Show 172.17.0.2 How do I expose the container?