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

@ -245,6 +245,20 @@ RUN sed -i "s/xdebug.remote_autostart=0/xdebug.remote_autostart=1/" /etc/php/${P
sed -i "s/xdebug.remote_enable=0/xdebug.remote_enable=1/" /etc/php/${PHP_VERSION}/cli/conf.d/xdebug.ini && \
sed -i "s/xdebug.cli_color=0/xdebug.cli_color=1/" /etc/php/${PHP_VERSION}/cli/conf.d/xdebug.ini
###########################################################################
# Phpdbg:
###########################################################################
USER root
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:
###########################################################################