From eb6cf6c73266f0d60c805d6cbd04a1b551102ba0 Mon Sep 17 00:00:00 2001 From: Martin Price Date: Wed, 16 Oct 2024 20:07:49 +0100 Subject: [PATCH] Fix error with xdebug on and off tooling --- guides/lando-with-vscode.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/guides/lando-with-vscode.md b/guides/lando-with-vscode.md index 30d8e82..f6a663b 100644 --- a/guides/lando-with-vscode.md +++ b/guides/lando-with-vscode.md @@ -110,15 +110,14 @@ tooling: description: Enable Xdebug. user: root cmd: - - docker-php-ext-enable xdebug && kill -USR2 $(pgrep -o php-fpm) > /dev/null || /etc/init.d/apache2 reload + - docker-php-ext-enable xdebug && kill -USR2 $(pgrep -o php-fpm) 2>/dev/null || /etc/init.d/apache2 reload - tput setaf 2 && echo "Xdebug On" && tput sgr 0 && echo - xdebug-off: service: appserver description: Disable Xdebug. user: root cmd: - - rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && kill -USR2 $(pgrep -o php-fpm) > /dev/null || /etc/init.d/apache2 reload + - rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && kill -USR2 $(pgrep -o php-fpm) 2>/dev/null || /etc/init.d/apache2 reload - tput setaf 1 && echo "Xdebug Off" && tput sgr 0 && echo ```