Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Commit 111fdf0

Browse files
Fix error with xdebug on and off tooling (#292)
* Fix error with xdebug on and off tooling * Adjustment as per feedback * Re-add line break between commands * Fix typo
1 parent 842f5ae commit 111fdf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/lando-with-vscode.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,15 @@ tooling:
110110
description: Enable Xdebug.
111111
user: root
112112
cmd:
113-
- docker-php-ext-enable xdebug && kill -USR2 $(pgrep -o php-fpm) > /dev/null || /etc/init.d/apache2 reload
113+
- docker-php-ext-enable xdebug && kill -USR2 $(pgrep -o php-fpm) > /dev/null 2>&1 || /etc/init.d/apache2 reload
114114
- tput setaf 2 && echo "Xdebug On" && tput sgr 0 && echo
115115
116116
xdebug-off:
117117
service: appserver
118118
description: Disable Xdebug.
119119
user: root
120120
cmd:
121-
- 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
121+
- rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && kill -USR2 $(pgrep -o php-fpm) > /dev/null 2>&1 || /etc/init.d/apache2 reload
122122
- tput setaf 1 && echo "Xdebug Off" && tput sgr 0 && echo
123123
```
124124

0 commit comments

Comments
 (0)