Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

qybbqybb's avatar

PHPUnit code coverage

Hello Everyone When i run the command phpunit --coverage-html dir i always receive the warnning about Xdebug is not load, code coverage will not be generated However i am sure i have install the Xdebug Google solution has been tested , and not work Is there some other solution for it ?

0 likes
2 replies
ahuggins's avatar

if you are using Homestead (or another VM) you should be logged into the VM in order to run the tests.

Are you using Homestead or a VM?

Please or to participate in this conversation.