Skip to content

Commit b3bc2ee

Browse files
committed
extmod/modwebrepl: More detailed debug output.
So detailed that even commented by default.
1 parent 473b639 commit b3bc2ee

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

extmod/modwebrepl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ STATIC mp_uint_t _webrepl_read(mp_obj_t self_in, void *buf, mp_uint_t size, int
161161
mp_obj_webrepl_t *self = self_in;
162162
const mp_stream_p_t *sock_stream = mp_get_stream_raise(self->sock, MP_STREAM_OP_READ);
163163
mp_uint_t out_sz = sock_stream->read(self->sock, buf, size, errcode);
164+
//DEBUG_printf("webrepl: Read %d initial bytes from websocket\n", out_sz);
164165
if (out_sz == 0 || out_sz == MP_STREAM_ERROR) {
165166
return out_sz;
166167
}

0 commit comments

Comments
 (0)