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

Fix switching debug mode by explicitly setting new environment variable

parent 518c4690
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@ ahoyapi: v2
commands:
on:
cmd: |
PHP_DEBUG=1
echo "PHP_DEBUG=1" >>.env
env -i $(cat .env | xargs) >.env
composer lakedrops:docker4drupal --no-interaction
......@@ -9,6 +10,7 @@ commands:
usage: Turn on PHP debugging
off:
cmd: |
PHP_DEBUG=0
echo "PHP_DEBUG=0" >>.env
env -i $(cat .env | xargs) >.env
composer lakedrops:docker4drupal --no-interaction
......
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