Skip to content

fix: Xdebug 3 config — client_port, trigger mode, develop mode#108

Merged
jorge07 merged 1 commit intojorge07:masterfrom
josecarlospeer-cloud:fix/xdebug3-config
Feb 21, 2026
Merged

fix: Xdebug 3 config — client_port, trigger mode, develop mode#108
jorge07 merged 1 commit intojorge07:masterfrom
josecarlospeer-cloud:fix/xdebug3-config

Conversation

@josecarlospeer-cloud
Copy link
Contributor

Updates Xdebug configuration in dev images (8.1, 8.2, 8.3) to Xdebug 3 best practices.

Changes:

  • Add explicit xdebug.client_port=9003 (Xdebug 3 default port)
  • start_with_request=yestrigger — requires IDE to initiate, avoids overhead on every request
  • Add develop to mode: debug,develop — enables improved var_dump() output
  • Increase max_nesting_level: 250 → 512

Source: https://xdebug.org/docs/all_settings

Part of phase 2+3 modernisation.

- Add xdebug.client_port=9003 (Xdebug 3 default, was implicit)
- Change start_with_request: yes -> trigger (explicit activation required)
- Add develop mode alongside debug (enables var_dump improvements etc.)
- Increase max_nesting_level: 250 -> 512
Source: https://xdebug.org/docs/all_settings
@jorge07 jorge07 merged commit feeb1f4 into jorge07:master Feb 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants