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

**URL:** https://discourse.vtk.org/t/is-there-a-way-to-turn-on-debug-mode-for-wslink-protocol-messages/15031
**Category:** Web
**Created:** [December 16, 2024, 3:48pm UTC](https://discourse.vtk.org/t/is-there-a-way-to-turn-on-debug-mode-for-wslink-protocol-messages/15031 "2024-12-16T15:48:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![joaomlap](https://discourse.vtk.org/user_avatar/discourse.vtk.org/joaomlap/32/3201_2.png) [@joaomlap](https://discourse.vtk.org/u/joaomlap)
#### Post date: [December 16, 2024, 3:48pm UTC](https://discourse.vtk.org/t/is-there-a-way-to-turn-on-debug-mode-for-wslink-protocol-messages/15031/1 "2024-12-16T15:48:44Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)
#### Post date: [December 17, 2024, 5:45pm UTC](https://discourse.vtk.org/t/is-there-a-way-to-turn-on-debug-mode-for-wslink-protocol-messages/15031/2 "2024-12-17T17:45:07Z")

</div>

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
