Install phpdbg (#1612)

* Install phpdbg
* Change documentstion
This commit is contained in:
Eugene Kirdzei authored and Shao Yu-Lung (Allen) committed 2018-06-30 16:54:46 +08:00
1 parent eccc149f45
commit a1e01ac19b
5 files changed
+52

No files matched your search

+14
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:
###########################################################################