Is there a way to turn on Debug mode for WSLink protocol messages

On the browser I would like to be able to debug my protocol messages but right now every message is binary which is great for performance but not great for debugging as I would like to understand what is happening.

Is there a way to turn off binary encoding?

You can log the messages to disk as text using TRAME_LOG_NETWORK env. Also when looking at the content of the messages, it is still fairly readable on what is going on.

HTH

1 Like