debug the communication protocol.