Skip to content
Snippets Groups Projects
Commit d8e48915 authored by jurgenhaas's avatar jurgenhaas
Browse files

#50 Add PHP coverage to debug modes

parent 3e7369f8
No related branches found
Tags v3.5.7
No related merge requests found
......@@ -29,4 +29,6 @@ commands:
env -i $(cat .env | xargs) >.env
composer lakedrops:docker4drupal --no-interaction
ahoy d4d up php
dc exec -u root php mkdir -p /opt/phpstorm-coverage/
dc exec -u root php chmod oug+w /opt/phpstorm-coverage/
usage: Turn on PHP debugging
......@@ -39,6 +39,7 @@ services:
PHP_XDEBUG: 1
PHP_XDEBUG_MAX_NESTING_LEVEL: 512
PHP_XDEBUG_MODE: {% if php.coverage %}coverage{% else %}debug{% endif %}
PHP_XDEBUG_REMOTE_HOST: {{ docker0.ip }}
PHP_XDEBUG_CLIENT_HOST: {{ docker0.ip }}
PHP_XDEBUG_LOG: /dev/null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment