debug codeception in Eclipse

  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