{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"command": "docker-compose exec exemplo sh -c 'sed -i "/xdebug.mode=off/cxdebug.mode=debug" /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload'",
"label": "enable:xdebug"
},
{
"type": "shell",
"command": "docker-compose exec exemplo sh -c 'sed -i "/xdebug.mode=debug/cxdebug.mode=off" /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload'",
"label": "disable:xdebug"
}
]
}