phpunit - 在 PhpStorm 中通过 SSH 进行 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
有什么建议吗?
解决方案
推荐阅读
- node.js - 如何连续添加两条记录?
- android - ScrollView不能滚动?
- c - 如何使用自定义加密服务提供程序 (CSP) 在 Chrome 上进行 SSL/TLS 客户端身份验证
- html - Bootstrap modal 总是跳到页面顶部
- visual-studio-code - 调试时如何在“变量列表”中搜索道具/变量?
- nginx - 自定义 Nginx 反向代理后面的 Meteor 乘客独立
- laravel - Laravel 每天从数据透视表中得到锻炼
- typescript - 使用字符串文字作为计算属性名称的模板参数
- python - 如何修补从另一个模块导入的函数
- android - 将flutter模块添加到android项目时无法触发onActivityResult