Reputation: 1507
In earlier versions, it was possible to debug any unit test within functionality provided by PHPStorm. How should I run debug session on a particular test using vendor/bin/simple-phpunit
?
Upvotes: 6
Views: 2206
Reputation: 1507
It's a bit hidden right now.
vendor/bin/simple-phpunit
to fetch some not-so-visible dependencies,/vendor/bin/.phpunit/phpunit-5.7/phpunit
with path to composer.phar
checked. Keep in mind not to forget specifying phpunit.xml
as default configuration to provide autoloaders,Upvotes: 7