How to disable debug messages on sockjs- STOMP

Ok I found a solution.

I added this code:

stompClient.debug = null

In this way, the debug function is disabled.


I tried JR's answer but started receiving errors (was using redux sagas) - changing debug to an empty function worked ...

stompClient.debug = () => {};