Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Start the main service with XDebug disabled #2574

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,14 @@ DTT_MINK_DRIVER_ARGS="['chrome', null, 'http://selenium:4444/wd/hub']"
# production databases.
DOCKER_RESTORE_PRODUCTION=no

# Copy this variable in .env file and set the value to "True" in order to start
# the Docker web service with XDebug disabled. Note that you can anytime enable
# XDebug manually by issuing:
# $ docker-compose exec web phpenmod xdebug
# or disable it with:
# $ docker-compose exec web phpdismod xdebug
DISABLE_XDEBUG="False"

# Debugging
# TODO: The following vars were not tested. They were inherited from a previous
# Docker setup. To investigate if we still need them.
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ services:
ASDA_URL:
ASDA_USER:
ASDA_PASSWORD:
DISABLE_XDEBUG:
depends_on:
- mysql
- virtuoso
Expand Down