diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 3f58d9c..916a7b6 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -8,6 +8,7 @@ services: volumes: - ../:/workspaces:cached + - xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini # Overrides default command so things don't shut down after the process ends. command: sleep infinity diff --git a/.devcontainer/xdebug.ini b/.devcontainer/xdebug.ini index 6b6a446..fa15bbf 100644 --- a/.devcontainer/xdebug.ini +++ b/.devcontainer/xdebug.ini @@ -1,4 +1,4 @@ zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20190902/xdebug.so xdebug.mode = debug -xdebug.start_with_request = yes +xdebug.start_with_request = no xdebug.client_port = 9000 \ No newline at end of file