Skip to content

Commit

Permalink
Adds override for triggering xdebug with using WP-CLI (#120)
Browse files Browse the repository at this point in the history
* Adds override for triggering xdebug with using WP-CLI
  • Loading branch information
ChrisMKindred authored Dec 6, 2023
1 parent 30e426b commit 086470d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .lando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ config:
xdebug: true
memcached: true
services:
appserver:
overrides:
environment:
- XDEBUG_TRIGGER=1
mailhog:
type: mailhog
portforward: true
Expand All @@ -18,7 +22,7 @@ tooling:
xdebug-on:
service: appserver
description: Enable xdebug for nginx.
cmd: docker-php-ext-enable xdebug && pkill -o -USR2 php-fpm && echo "Enabling xdebug enabled"
cmd: docker-php-ext-enable xdebug && pkill -o -USR2 php-fpm && echo "Xdebug enabled"
user: root
xdebug-off:
service: appserver
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). Each changelog entry gets prefixed with the category of the item (Added, Changed, Depreciated, Removed, Fixed, Security).

## [2023.12]

- Added: Xdebug support for WP Cli commands.

## [2023.11]

- Chore: WordPress 6.4.1 Update
Expand Down

0 comments on commit 086470d

Please sign in to comment.