Skip to content

Commit e62e7d0

Browse files
committed
Fix test to check xdebug mode via php -i instead of XDEBUG_MODE env var
1 parent 86b5496 commit e62e7d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/xdebug/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ lando exec xdebug-true -- /etc/lando/service/helpers/xdebug.sh | grep -i "mode"
5252
lando exec xdebug-true -- php -i | grep "xdebug.mode" | grep debug
5353

5454
# Should set mode from string (backward compat)
55-
lando exec xdebug-string -- env | grep XDEBUG_MODE | grep "debug,develop"
55+
lando exec xdebug-string -- php -i | grep "xdebug.mode" | grep "debug,develop"
5656

5757
# Should set mode from object config
5858
lando exec xdebug-object -- php -i | grep "xdebug.mode" | grep debug

0 commit comments

Comments
 (0)