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

Commit

Permalink
Fix error with xdebug on and off tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkshire-pudding authored Oct 16, 2024
1 parent 842f5ae commit eb6cf6c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions guides/lando-with-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit eb6cf6c

Please sign in to comment.