【发布时间】:2016-04-19 23:31:02
【问题描述】:
我正在 Symfony2 项目中运行 Codeception 测试,并且正在 PHPstorm 中进行开发。
调试 codeception 过去可以工作,但我最近开始了一个新项目,它不再起作用了。一切都按应有的方式配置。当我设置 phpstorm 开始监听连接时,我在 bin/codecept 中设置了一个断点。调试器在断点处停止(应该如此)。
但是当我在一个测试中设置断点(这是明确运行的)时,我得到了消息
16:10:41 Debug session was finished without being paused
It may be caused by path mappings misconfiguration or not synchronized local and remote projects.
To figure out the problem check path mappings configuration for 'null' server at PHP|Servers or enable Break at first line in PHP scripts option (from Run menu).
Do not show again (show balloon)
我确实认为路径映射出了点问题,因为我的服务器在符号链接上运行,但为什么调试应用程序/控制台和代码接收本身可以工作,而不是测试?
【问题讨论】:
标签: symfony xdebug codeception