if somehow you could give me a reproducible case or some log that shows me a bit more then i could fix it.
It seems to me that you at some step in your debugger bump into some variable (could be quite deep like a plugin) that is causing weird stuff in the communication between the debugger and client.
But i just need to know what that is.