Reputation: 1534
When running unit tests thru PhpStorm, the output of function codecept_debug
is ignored.
I've set my Test runner options to:
--colors --debug -v
In my codeception.yml
I also have:
settings:
bootstrap: _bootstrap.php
colors: true
debug: true
memory_limit: 1024M
On command line the output of codecept_debug
is displayed.
Upvotes: 0
Views: 708
Reputation: 3830
At the moment this is still unsupported by PHPStorm however you can work around this by:
codecept_debug( $variable )
calls to echo print_r( $variable, true );
In the same way you will do it with codecept_debug
the output should be displayed on the terminal of PHPStorm when running the tests.
Upvotes: 0
Reputation: 3557
Not implemented yet: https://youtrack.jetbrains.com/issue/WI-36233. Please vote/comment for the issue
Upvotes: 1