yiicod / yii2-socketio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debug

buiduongthe opened this issue · comments

Dear Yii2cod

Now, I can't debug code function handle in MarkAsReadEvent.php? I want to debug from client to Server Step by Step.
I'm send message from Server to Client for result OK.

Thanks

me too, can not handle message from client

It suppose that you have db on the server side. You can add empty db connection for this or extend this class and comment the lines as proposed above

Hi, I am sorry but this solution breaks package.

Yii::$app->db->close();
Yii::$app->db->open();

May be you have stable version ? Can I use this package in production ?

It suppose that you have db on the server side. You can add empty db connection for this or extend this class and comment the lines as proposed above

Sorry you can explain me, why I need to reopen mysql connection ? And why in readme has any words about this ?