Skip to content

Fix Xdebug detection on Linux and write config on enable#75

Merged
peterjaap merged 1 commit into
mainfrom
fix/xdebug-linux-detection-and-config
Apr 8, 2026
Merged

Fix Xdebug detection on Linux and write config on enable#75
peterjaap merged 1 commit into
mainfrom
fix/xdebug-linux-detection-and-config

Conversation

@peterjaap
Copy link
Copy Markdown
Collaborator

  • Add Linux case to findXdebugSo() using php-config to locate the extension directory, fixing IsInstalled() always returning false on Linux despite the extension being installed
  • Write Xdebug configuration (mode, start_with_request, client_host, client_port, idekey) when enabling, not just uncommenting zend_extension
  • Change install hint from 'pecl install xdebug' to 'magebox ext install xdebug'

- Add Linux case to findXdebugSo() using php-config to locate the
  extension directory, fixing IsInstalled() always returning false
  on Linux despite the extension being installed
- Write Xdebug configuration (mode, start_with_request, client_host,
  client_port, idekey) when enabling, not just uncommenting zend_extension
- Change install hint from 'pecl install xdebug' to 'magebox ext install xdebug'
@peterjaap peterjaap merged commit a5bf885 into main Apr 8, 2026
11 checks passed
@peterjaap peterjaap deleted the fix/xdebug-linux-detection-and-config branch April 8, 2026 08:10
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.

1 participant