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.
Currently, if we have xdebug enabled and run phpunit tests, all tests fail and the following error gets thrown:
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.