read serial in mouse debug