Skip to content

Commit

Permalink
lando/lando#2718: Explicitly set client_port to 9003.
Browse files Browse the repository at this point in the history
  • Loading branch information
reynoldsalec committed Oct 21, 2024
1 parent 146fdd3 commit 7c8855b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ xdebug.max_nesting_level = 512
xdebug.remote_autostart = 1
xdebug.start_with_request = trigger
xdebug.mode = ${XDEBUG_MODE}
xdebug.client_port = 9003
xdebug.ide_key = docker

; Globals
expose_php = on
Expand Down
3 changes: 3 additions & 0 deletions examples/xdebug/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ lando exec xdebug3off -- php -m | grep xdebug || echo $? | grep 1
# Should use develop, debug if defined
lando exec xdebug3 -- env | grep 'XDEBUG_MODE' | grep 'debug,develop'

# Should use client_port 9003
lando exec xdebug3 -- php -i | grep xdebug.client_port | grep 9003

# Should use xdebug version 3.0.4 if installed
lando exec manual -- php --re xdebug | head -1 | grep "xdebug version 3.0.4"
```
Expand Down

0 comments on commit 7c8855b

Please sign in to comment.