Xdebug没有停在PhpStorm

时间:2017-09-14 17:52:29

标签: phpstorm xdebug

我正在尝试在PhpStorm中调试我的一个单元测试。

我在测试代码中设置了一个断点,但它被忽略了。我放xdebug_break时就可以了。

我正在使用PhpStorm 2017.1.4

这是phpunit的输出(识别目录名称替换为问号)

/usr/bin/php -dxdebug.remote_enable=1 -dxdebug.remote_mode=req -dxdebug.remote_port=9000 -dxdebug.remote_host=127.0.0.1 /mnt/dev/michael/mylibrary/vendor/phpunit/phpunit/phpunit --bootstrap /mnt/dev/michael/mylibrary/tests/bootstrap.php --configuration /mnt/dev/???/mylibrary/phpunit.xml FilterDefinitionTest /mnt/dev/???/mylibrary/tests/unit/admin/includes/helpers/DbHelpers/QueryBuilder/FilterDefinitions/FilterDefinitionTest.php --teamcity
Testing started at 1:37 PM ...
PHPUnit 5.4.4 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.0.20-1~dotdeb+8.2 with Xdebug 2.5.1
Configuration: /mnt/dev/???/mylibrary/phpunit.xml

0 个答案:

没有答案