Install phpdbg (#1612)

* Install phpdbg
* Change documentstion
This commit is contained in:
Eugene Kirdzei
2018-06-30 11:54:46 +03:00
committed by Shao Yu-Lung (Allen)
parent eccc149f45
commit a1e01ac19b
5 changed files with 52 additions and 0 deletions

View File

@ -109,6 +109,18 @@ RUN sed -i "s/xdebug.remote_autostart=0/xdebug.remote_autostart=1/" /usr/local/e
sed -i "s/xdebug.remote_enable=0/xdebug.remote_enable=1/" /usr/local/etc/php/conf.d/xdebug.ini && \
sed -i "s/xdebug.cli_color=0/xdebug.cli_color=1/" /usr/local/etc/php/conf.d/xdebug.ini
###########################################################################
# Phpdbg:
###########################################################################
ARG INSTALL_PHPDBG=false
ARG PHP_VERSION=${PHP_VERSION}
RUN if [ ${INSTALL_PHPDBG} = true ]; then \
# Load the xdebug extension only with phpunit commands
apt-get install -y --force-yes php${PHP_VERSION}-phpdbg \
;fi
###########################################################################
# Blackfire:
###########################################################################