Relay state debugging