diff --git a/.docker/php/config/php.ini b/.docker/php/config/php.ini index 6f72209..d39631e 100644 --- a/.docker/php/config/php.ini +++ b/.docker/php/config/php.ini @@ -4,7 +4,6 @@ log_errors = On memory_limit = -1 [xdebug] -xdebug.remote_enable = 1 -xdebug.remote_autostart = 1 -xdebug.remote_host = host.docker.internal -xdebug.remote_port = 9000 +xdebug.mode = debug +xdebug.client_host = host.docker.internal +xdebug.client_port = 9003 diff --git a/docker-compose.yaml b/docker-compose.yaml index 216fe4f..7841f59 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,7 +9,7 @@ services: volumes: - ./:/var/www/html extra_hosts: - - host.docker.internal:${DOCKER_HOST_IP} + - host.docker.internal:${DOCKER_HOST_IP:-172.17.0.1} memcached: container_name: directory-lister-memcached