I configured PhpStorm according to this tutorial: PHPUnit for PhpStorm
I can run my PHPUnit test successfully, so this is working.
The problem is, in my docker container I have enabled Xdebug which I need sometimes. Normally, I docker exec into the container and run the tests there. Xdebug slows down the tests heavily, so I do phpdismod -s cli xdebug before I run my tests. Then the tests run 100x faster!
Now I want to achieve the same behaviour when I run the tests through PhpStorm. PhpStorm brings up an own docker container where it runs the tests. I don't know how I can tell PhpStorm to run phpdismod -s cli xdebug before starting PHPUnit. Is there a way of doing that?