; See https://docs.docker.com/desktop/networking/#i-want-to-connect-from-a-container-to-a-service-on-the-host ; See https://github.com/docker/for-linux/issues/264 ; The `client_host` below may optionally be replaced with `discover_client_host=yes` ; Add `start_with_request=yes` to start debug session on each request ; develop is required for xdebug_info() and related helpers. Docker sets XDEBUG_MODE (overrides this). xdebug.mode = develop xdebug.client_host = host.docker.internal