Removes xdebug from production php.ini and moves it to development dir

This commit is contained in:
soneill 2021-09-16 10:50:24 +12:00
parent 051abc89c6
commit 24a1d14119
3 changed files with 2 additions and 15 deletions

View file

@ -9,6 +9,8 @@ mv ./static/pathfinder/environment.ini ./static/pathfinder/environment.productio
cp ./development/docker-compose.development.yml ./docker-compose.yml
cp ./development/Dockerfile.development ./Dockerfile
cp ./development/environment.development.ini ./static/pathfinder/environment.ini
cp ./development/php.development.ini ./static/php/php.ini
cp ./development/xdebug.ini ./static/php/xdebug.ini
# set up launch file for vscode
mkdir -p .vscode && cp ./development/launch.json ./.vscode/launch.json

View file

@ -10,7 +10,6 @@ fastcgi.logging=0
request_terminate_timeout = 300
session.save_handler = redis
session.save_path = "tcp://${CONTAINER_NAME}-redis:6379"
zend_extension=/usr/lib/php7/modules/xdebug.so
[Date]
date.timezone="UTC"

View file

@ -1,14 +0,0 @@
zend_extension=xdebug
[xdebug]
xdebug.mode=develop,debug
xdebug.default_enable=1
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_connect_back=0
xdebug.remote_host=host.docker.internal
xdebug.idekey=VSCODE
xdebug.remote_autostart=1
xdebug.start_with_request=yes
xdebug.log=/tmp/xdebug.log