I have Apache and PHP running in a docker container within a boot2docker VM, and I'm not sure how to tell PhpStorm to run php scripts or PHPUnit on that server.
E.g., for running codeception tests on a local server, I would create a debug configuration that uses a PHP Script:
I can get the same thing to run in docker using a "Bash" configuration instead of a "PHP Script" configuration.
Interpreter path: /usr/local/bin/docker
Program arguments: my_container bach -c "cd /path/to/tests/; vendor/bin/codecept run"
But by doing it this way, I lose the ability to debug the script.
Is there a way to tell PhpStorm to use my dockerized PHP?