相关疑难解决方法(0)

如何在CLI上使用PHPUnit运行XDebug?

我试过运行以下CLI命令:

phpunit -d xdebug.profiler_enable=on XYZTestCase.php
Run Code Online (Sandbox Code Playgroud)

但它只是正常运行.谁能指出我正确的方向?谢谢!

这是XDebug设置:

xdebug

xdebug support => enabled
Version => 2.1.2

Supported protocols => Revision
DBGp - Common DeBuGger Protocol => $Revision: 1.145 $

Directive => Local Value => Master Value
xdebug.auto_trace => Off => Off
xdebug.collect_assignments => Off => Off
xdebug.collect_includes => On => On
xdebug.collect_params => 0 => 0
xdebug.collect_return => Off => Off
xdebug.collect_vars => Off => Off
xdebug.default_enable => On => On
xdebug.dump.COOKIE => no value => no value
xdebug.dump.ENV => no …
Run Code Online (Sandbox Code Playgroud)

php phpunit xdebug command-line-interface

51
推荐指数
6
解决办法
3万
查看次数

标签 统计

command-line-interface ×1

php ×1

phpunit ×1

xdebug ×1