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

Added warning log for Xdebug incompatibility (#1256) #1257

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

intuibase
Copy link
Contributor

No description provided.

@intuibase intuibase self-assigned this Jan 9, 2025
@intuibase intuibase merged commit d04bc88 into elastic:main Jan 10, 2025
210 checks passed
@intuibase intuibase deleted the xdebug_limitation branch January 10, 2025 10:26
@JoniJnm
Copy link

JoniJnm commented Jan 27, 2025

The warning is logged even when elastic APM is disabled. Is that OK?

$ php -r 'var_export(ini_get("ELASTIC_APM_ENABLED"));'
[Elastic APM PHP Tracer] 2025-01-27 16:26:38.484087+00:00 [PID: 205] [TID: 205] [WARNING]  [Lifecycle] [lifecycle.cpp:421] [elasticApmRequestInit] Xdebug is loaded, which is not supported by the Elastic APM Agent. This may lead to stability or memory issues
false

I'm using a docker image with xdebug and elastic APM installed. xdebug is enabled in dev but APM disabled. APM is only enabled on prod. So I'm seeing always this log.

@intuibase
Copy link
Contributor Author

Thank you @JoniJnm, it's a bug, we will fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants