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

"Xdebug: [Step Debug] Could not connect to debugging client" when xdebug is enabled and phpunit is running #143

Open
joshsedl opened this issue Oct 27, 2023 · 0 comments

Comments

@joshsedl
Copy link
Collaborator

Currently, if we have xdebug enabled and run phpunit tests, all tests fail and the following error gets thrown:

Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port).

This is quite annoying but not big of a problem, since we can simply disable xdebug again through ddev xdebug off.

But if we want to check the test coverage of a module we need to run ddev phpunit-coverage, which needs both xdebug and phpunit running at the same time. The test coverage gets created, but the terminal is filled with these warnings.

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

No branches or pull requests

2 participants