From f0c6f657b23664dfe890b098205915dffff0cae6 Mon Sep 17 00:00:00 2001 From: 22Alexandra Date: Wed, 3 Feb 2021 13:50:07 +0200 Subject: [PATCH] EWPP-721: Update xdebug configuration. --- docker-compose.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9b2d6f13..721a393a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,11 @@ services: - .:/var/www/html # Non Mac users. # - nfsmount:/var/www/html # Mac Users with the nfsmount volume. environment: - XDEBUG_CONFIG: "remote_enable=1 remote_host=10.254.254.254 remote_port=9000 idekey=PHPSTORM remote_autostart=1" + XDEBUG_CONFIG: "client_host=10.254.254.254 client_port=9000" + XDEBUG_MODE: "debug" + XDEBUG_SESSION: "PHPSTORM" + XDEBUG_SESSION_START: "PHPSTORM" + XDEBUG_TRIGGER: "PHPSTORM" PHP_IDE_CONFIG: "serverName=Docker" # For Xdebug setup, run this command in the terminal: # For Mac users: sudo ifconfig en0 alias 10.254.254.254 255.255.255.0