disable xdebug remote by default
This commit is contained in:
		@@ -77,9 +77,7 @@ COPY ./crontab /var/spool/cron/crontabs
 | 
			
		||||
# xDebug:
 | 
			
		||||
#####################################
 | 
			
		||||
 | 
			
		||||
# Check if xDebug needs to be installed
 | 
			
		||||
ARG INSTALL_XDEBUG=false
 | 
			
		||||
ENV INSTALL_XDEBUG ${INSTALL_XDEBUG}
 | 
			
		||||
RUN if [ ${INSTALL_XDEBUG} = true ]; then \
 | 
			
		||||
    # Load the xdebug extension only with phpunit commands
 | 
			
		||||
    apt-get update && \
 | 
			
		||||
 
 | 
			
		||||
@@ -1,9 +1,10 @@
 | 
			
		||||
; NOTE: The actual debug.so extention is NOT SET HERE but rather (/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini)
 | 
			
		||||
 | 
			
		||||
xdebug.remote_autostart=1
 | 
			
		||||
xdebug.remote_enable=1
 | 
			
		||||
xdebug.remote_connect_back=1
 | 
			
		||||
xdebug.cli_color=1
 | 
			
		||||
xdebug.remote_autostart=0
 | 
			
		||||
xdebug.remote_enable=0
 | 
			
		||||
xdebug.remote_connect_back=0
 | 
			
		||||
xdebug.cli_color=0
 | 
			
		||||
xdebug.profiler_enable=0
 | 
			
		||||
xdebug.remote_handler=dbgp
 | 
			
		||||
xdebug.remote_mode=req
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user