debug codeception in Eclipse

来源:互联网 发布:淘宝上代购是真的吗 编辑:程序博客网 时间:2024/05/19 17:58
  1. config eclipse’s php cli’s debug to using xdebug
  2. copy file to codeception
cp vendor\codeception\codeception\codecept to vendor\codeception\codeception\codecept.php

then add this file to eclipse’s cli run configuration, then add script argument as below:

run -c D:\git\yii2\basic\vendor\arogachev\yii2-excel\codeception.yml

then debug, the yii2-excel’s ut will be debuggable

0 0