Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lando/lando#2718: Explicitly set client_port to 9003. #136

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading