-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Debug mode of Xdebug 2 is not disabled for PHPT tests #4529
Labels
type/bug
Something is broken
Comments
This was referenced Nov 28, 2020
sebastianbergmann
changed the title
Xdebug 2.x debug mode is not disabled when code coverage is enabled
Debug mode of Xdebug 2 is not disabled for PHPT tests
Nov 28, 2020
This was referenced Mar 12, 2021
Closed
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Composer info
Summary
While trying to support Xdebug 3 with commit 312641d a bug has been introduced with Xdebug 2 that does not disable the "debug" side. In particular, the
xdebug.default_enable=0
option is now missing causing Xdebug to work as if it was fully enabled and operational instead of just enabling the code coverage modeCurrent behavior
Xdebug prints debug information (e.g. stacktraces, etc) when an error is thrown, breaking PHPT assertions with unexpected additional lines of output
How to reproduce
phpunit.xml
test.php
test.phpt
Expected behavior
Test suite should pass and code coverage should be collected
The text was updated successfully, but these errors were encountered: