More debugging code in SerialComm