Provided a way to Stop/Start php-fpm xdebug via bash script.

This commit is contained in:
larryeitel
2016-08-15 08:59:29 -06:00
parent 28b4077a49
commit d8a4537efb
8 changed files with 159 additions and 1 deletions

View File

@ -52,6 +52,8 @@ RUN if [ ${INSTALL_XDEBUG} = true ]; then \
sed -i 's/^/;/g' /etc/php/7.0/cli/conf.d/20-xdebug.ini && \
echo "alias phpunit='php -dzend_extension=xdebug.so /var/www/laravel/vendor/bin/phpunit'" >> ~/.bashrc \
;fi
# ADD for REMOTE debugging
COPY ./xdebug_settings_only.ini /etc/php/7.0/cli/conf.d/xdebug_settings_only.ini
#####################################
# MongoDB: