From bba3e2df3f518ff48cc9d2ab565100b13c91d91a Mon Sep 17 00:00:00 2001 From: "r.didato" Date: Fri, 29 Jan 2021 12:40:13 +0100 Subject: [PATCH] Aggiornato dockerfile debug --- cicd/dockerfiles/debug.dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cicd/dockerfiles/debug.dockerfile b/cicd/dockerfiles/debug.dockerfile index e9e99ab..bcb6fe7 100644 --- a/cicd/dockerfiles/debug.dockerfile +++ b/cicd/dockerfiles/debug.dockerfile @@ -13,7 +13,8 @@ RUN apt-get update && \ # Install XDebug RUN pecl install xdebug | tail -n 1 | awk -F"\"" '{print $2}' > /usr/local/etc/php/conf.d/xdebug.ini -RUN echo "\n\n[XDebug]\nxdebug.remote_enable = 1\nxdebug.remote_autostart = 1\nxdebug.remote_host = §DEBUG_REMOTE_IP§\nxdebug.remote_port = §DEBUG_REMOTE_PORT§\n" >> /usr/local/etc/php/conf.d/xdebug.ini +# RUN echo "\n\n[XDebug]\nxdebug.remote_enable = 1\nxdebug.remote_autostart = 1\nxdebug.remote_host = §DEBUG_REMOTE_IP§\nxdebug.remote_port = §DEBUG_REMOTE_PORT§\n" >> /usr/local/etc/php/conf.d/xdebug.ini +RUN echo "\n\n[XDebug]\nxdebug.mode=debug\nxdebug.start_with_request=yes\nxdebug.client_host = §DEBUG_REMOTE_IP§\nxdebug.client_port = §DEBUG_REMOTE_PORT§\n" >> /usr/local/etc/php/conf.d/xdebug.ini # Copy the current directory contents into the container at /app COPY ./app /§PROJECT_BUILDNAME§