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

Backport from hel.fi: Log xdebug errors to a file #56

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

tuutti
Copy link
Contributor

@tuutti tuutti commented Oct 14, 2024

Running any php operation when xdebug is enabled, but the client is not running fills the stdout with hundreds of Xdebug: [Step Debug] Could not connect to debugging client. Tried: 172.22.0.1:9003 (through xdebug.client_host/xdebug.client_port). warnings.

We've been using this fix since early 2024, but the hel.fi implementation is a bit different (https://github.com/City-of-Helsinki/drupal-docker-images/blob/main/local/drupal/Dockerfile#L19) and I don't have time to actually test if this works.

@back-2-95 back-2-95 merged commit 0288f60 into druidfi:main Oct 20, 2024
1 check 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