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

PHP_XDEBUG_MODE does not work #59

Closed
5 tasks done
en-jschuetze opened this issue Feb 12, 2024 · 0 comments
Closed
5 tasks done

PHP_XDEBUG_MODE does not work #59

en-jschuetze opened this issue Feb 12, 2024 · 0 comments

Comments

@en-jschuetze
Copy link
Collaborator

en-jschuetze commented Feb 12, 2024

It seems to stay "off" always.

Actual (8.0, 8.1, 8.2 and 8.3):

PHP_XDEBUG_MODE=trace php -i | grep xdebug.mode
             Enabled Features (through 'xdebug.mode' setting)
xdebug.mode => no value => no value

Expected:

PHP_XDEBUG_MODE=trace php -i | grep xdebug.mode
             Enabled Features (through 'xdebug.mode' setting)
xdebug.mode => trace => trace

The reason is, because /etc/php81/conf.d/50_xdebug.ini (or php82, php83) contains:
xdebug.mode=off

so it always overrides it.

Fixed in:

en-jschuetze added a commit that referenced this issue Feb 12, 2024
en-jschuetze added a commit that referenced this issue Feb 12, 2024
en-jschuetze added a commit that referenced this issue Feb 12, 2024
en-jschuetze added a commit that referenced this issue Feb 12, 2024
en-jschuetze added a commit that referenced this issue Feb 12, 2024
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

No branches or pull requests

1 participant