在PhpStorm中通过SSH进行Xdebug-不会在断点处停止

时间:2018-07-11 09:11:48

标签: phpunit phpstorm xdebug

我在PhpStorm中通过SSH建立了项目。

我正在尝试使用调试器运行PHPUnit脚本,并且看到以下消息:

  

与“ Xdebug 2.6.0”的连接未建立

在xdebug.log中,我看到:

Log opened at 2018-07-11 08:52:42
I: Connecting to configured address/port: 46.170.254.34:9001.
W: Creating socket for '46.170.254.34:9001', poll success, but error:  Operation now in progress (29).
E: Could not connect to client. :-(
Log closed at 2018-07-11 08:52:42

在控制台中,我看到:

  

ssh://xxxx@xxxx.pl:22 / usr / bin / php -dxdebug.remote_enable = 1 -dxdebug.remote_mode = req -dxdebug.remote_port = 9001 -dxdebug.remote_host = 11.11.11.11 / home / path / vendor / phpunit / phpunit / phpunit --bootstrap /home/path/vendor/autoload.php --configuration /home/path/phpunit.xml --filter“ /(:: testGettingMe)(。*)?$ /” App \ Tests \ Functional \ Context \ Api \ MeControllerTest /home/path/tests/Functional/Context/Api/MeControllerTest.php --teamcity

有什么建议吗?

0 个答案:

没有答案