Created
February 20, 2020 20:30
-
-
Save rufhausen/3a7f3167f0041e11a4887176c8a450b9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [{ | |
"label": "toggle-xdebug-on", | |
"type": "shell", | |
"command": "docker-compose exec php /bin/bash -c '/usr/sbin/phpenmod xdebug && pkill -o -USR2 php-fpm'" | |
}, | |
{ | |
"label": "toggle-xdebug-off", | |
"type": "shell", | |
"command": "docker-compose exec php /bin/bash -c '/usr/sbin/phpdismod xdebug && pkill -o -USR2 php-fpm'" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment