Skip to content

Debugging

jziolkowski edited this page Dec 4, 2019 · 2 revisions

TDM provides optional debug logging.

To enable it, edit the tdm.cfg (located in C:\Users\<your login>\TDM or ~/TDM), and in the [General] section add (case sensitive):

loglevel=DEBUG

In the tdm.log you will then be able to see the autodiscovery stages progress.

With that done, you can then enable per-device MQTT message dumps:

Edit devices.cfg and for every device you want to debug add in its respective section:

debug=true

After TDM restart, the log will contain every message sent to/from the device.