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

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