【发布时间】:2016-05-06 05:36:53
【问题描述】:
因此,我目前正尝试使用 Ratchet 网站上所述的 SessionProvider 组件将我的 symphony (2.7) 会话数据导入 Ratchet websocket 服务器:http://socketo.me/docs/sessions。
但是,每次我尝试连接到 Ratchet 服务器时,它都会崩溃并显示以下消息:
[Symfony\Component\Debug\Exception\ContextErrorException]
User Warning: XDebug extension detected. Remember to disable this if performance testing or going live!
当然我可以关闭 xDebug,但在我的开发环境中,我想将它用于调试目的。此外,我觉得性能警告不应该导致致命的崩溃!那么如何在启用 xDebug 的情况下运行 Ratchet Web 套接字服务器?
【问题讨论】:
-
你找到解决这个问题的方法了吗?
标签: php symfony xdebug ratchet