Eclipse PDT & PHPUnit?

后端 未结 13 1295
野的像风
野的像风 2021-01-30 17:35

Is there any integration of PHPUnit with Eclipse PDT?

If not, are there any plans to do so?

13条回答
  •  庸人自扰
    2021-01-30 17:50

    For all using composer on unix like machine (eclipse and xdebug installed):

    cd 
    ln -s vendor/bin/phpunit phpunit.php
    

    Open eclipse, open run/debug configuration, create a new debug configuration, and select phpunit.php as file to debug. Continue the rest of the setup as usual, set breakpoints, that's it.

提交回复
热议问题