An ebusd add-on

How do you debug errors in thermostat templates?