Commit 38fbd937 authored by John Atanasov's avatar John Atanasov

ISTWCMS-2882 Replace xdebug remote_connect_back setting

- Disabled 'xdebug.remote_connect_back=1' and replaced with 'xdebug.remote_host=host.docker.internal'. The connect back feature was inconsistent in determining the host IP.
- Added 'xdebug.remote_log=/tmp/xdebug.log'. This will log connection data to the /tmp/xdebug.log file.
parent 2c41ebed
......@@ -147,8 +147,10 @@ RUN php -v
## Add xdebug config
RUN echo 'zend_extension=xdebug.so' >> /etc/php/${PHP_VERSION}/mods-available/xdebug.ini
RUN echo 'xdebug.remote_enable=1' >> /etc/php/${PHP_VERSION}/mods-available/xdebug.ini
RUN echo 'xdebug.remote_host=host.docker.internal' >> /etc/php/${PHP_VERSION}/mods-available/xdebug.ini
RUN echo 'xdebug.remote_port=9011' >> /etc/php/${PHP_VERSION}/mods-available/xdebug.ini
RUN echo 'xdebug.remote_connect_back=1' >> /etc/php/${PHP_VERSION}/mods-available/xdebug.ini
RUN echo 'xdebug.remote_log=/tmp/xdebug.log' >> /etc/php/${PHP_VERSION}/mods-available/xdebug.ini
RUN echo 'xdebug.remote_connect_back=0' >> /etc/php/${PHP_VERSION}/mods-available/xdebug.ini
RUN echo 'xdebug.max_nesting_level=256' >> /etc/php/${PHP_VERSION}/mods-available/xdebug.ini
## Install the drush registry_rebuild module
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment