Xdebug settings for phpunit tests

I presume you have installed xdebug and extension for you IDE of choice.

In php.ini:

[xdebug]
xdebug.mode=debug
xdebug.start_with_request=yes

Start the xdebug listener and run the tests.