debugging communication protocol