From ea9e9f81561e41ab5005afa3b16f40a6bd394bfd Mon Sep 17 00:00:00 2001 From: Daryle Dale De Silva Date: Tue, 19 Jan 2021 12:27:58 +0800 Subject: [PATCH] fix "Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: host.docker.internal:9003 (through xdebug.client_host/xdebug.client_port) :-(" --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 45791f82..d19ba6a5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -270,6 +270,8 @@ services: - ./php-fpm/php${PHP_VERSION}.ini:/usr/local/etc/php/php.ini - ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}${APP_CODE_CONTAINER_FLAG} - docker-in-docker:/certs/client + ports: + - "9003:9003" expose: - "9000" extra_hosts: