Ratchet Server User Warning Raises Symfony ContextErrorException

So, currently I'm trying to get symphony session data (2.7) on the Ratchet web server using the SessionProvider component, as described on the Ratchet website: http://socketo.me/docs/sessions .

However, every time I try to connect to the Ratchet server, it crashes with a message:

[Symfony\Component\Debug\Exception\ContextErrorException]                    
User Warning: XDebug extension detected. Remember to disable this if performance testing or going live! 

Of course, I can disable xDebug, but in my dev environment I would like to use it for debugging. Moreover, I feel that a performance warning should not lead to a fatal failure! So how can I start Ratchet web socket server with xDebug enabled?

+4
source share

Source: https://habr.com/ru/post/1626413/


All Articles