File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ ARG INSTALL_XDEBUG=false
133133RUN if [ ${INSTALL_XDEBUG} = true ]; then \
134134 # Load the xdebug extension only with phpunit commands
135135 apt-get install -y --force-yes php5.6-xdebug && \
136- sed -i 's/^/; /g' /etc/php/5.6/cli/conf.d/20-xdebug.ini && \
136+ sed -i 's/^;/ /g' /etc/php/5.6/cli/conf.d/20-xdebug.ini && \
137137 echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
138138;fi
139139# ADD for REMOTE debugging
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ ARG INSTALL_XDEBUG=false
133133RUN if [ ${INSTALL_XDEBUG} = true ]; then \
134134 # Load the xdebug extension only with phpunit commands
135135 apt-get install -y --force-yes php7.0-xdebug && \
136- sed -i 's/^/; /g' /etc/php/7.0/cli/conf.d/20-xdebug.ini && \
136+ sed -i 's/^;/ /g' /etc/php/7.0/cli/conf.d/20-xdebug.ini && \
137137 echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
138138;fi
139139# ADD for REMOTE debugging
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ ARG INSTALL_XDEBUG=false
129129RUN if [ ${INSTALL_XDEBUG} = true ]; then \
130130 # Load the xdebug extension only with phpunit commands
131131 apt-get install -y --force-yes php-xdebug && \
132- sed -i 's/^/; /g' /etc/php/7.1/cli/conf.d/20-xdebug.ini && \
132+ sed -i 's/^;/ /g' /etc/php/7.1/cli/conf.d/20-xdebug.ini && \
133133 echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/vendor/bin/phpunit'" >> ~/.bashrc \
134134;fi
135135# ADD for REMOTE debugging
You can’t perform that action at this time.
0 commit comments