Skip to content

Commit

Permalink
Fix error with xdebug on and off tooling (#292)
Browse files Browse the repository at this point in the history
* Fix error with xdebug on and off tooling

* Adjustment as per feedback

* Re-add line break between commands

* Fix typo
  • Loading branch information
yorkshire-pudding authored Oct 17, 2024
1 parent 842f5ae commit 111fdf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/lando-with-vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ 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) > /dev/null 2>&1 || /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) > /dev/null 2>&1 || /etc/init.d/apache2 reload
- tput setaf 1 && echo "Xdebug Off" && tput sgr 0 && echo
```

Expand Down

0 comments on commit 111fdf0

Please sign in to comment.