Disable starting xdebug with request.
This commit is contained in:
parent
aa5fbf144c
commit
e87b00353f
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ sed -i "s|\[memory_limit\] = .*|\[memory_limit\] = ${PHP_MEMORY_LIMIT}|g" /etc/p
|
|||
if [ $ENABLE_DEBUG_MODE = true ]; then
|
||||
echo -e "#Controlled via DEBUG_MODE environment variable\nzend_extension=xdebug.so\n[xdebug]\n\
|
||||
xdebug.mode=debug\n\
|
||||
xdebug.start_with_request=yes\n\
|
||||
#xdebug.start_with_request=yes\n\
|
||||
xdebug.client_host=172.17.0.1\n" > /etc/php/{{PHP}}/mods-available/xdebug.ini
|
||||
ln -s /etc/php/{{PHP}}/mods-available/xdebug.ini /etc/php/{{PHP}}/fpm/conf.d/20-xdebug.ini || true
|
||||
sed -i "s|php_flag\[display_errors\].*|php_flag\[display_errors\] = on|g" /etc/php/{{PHP}}/fpm/pool.d/www.conf
|
||||
|
|
|
|||
Loading…
Reference in a new issue