Some wire debugging code