JoaoLopesF / RemoteDebug

Library for Arduino to debug projects over WiFi, with web app or telnet, with print commands like Serial Monitor
MIT License
614 stars 127 forks source link

Redirect Serial output #23

Closed dicastro closed 6 years ago

dicastro commented 6 years ago

I like your idea of remote debugging over telnet. But I see one problem, which is that most of existing libraries use Serial class to trace things. And this traces will not be seen in telnet connection.

Wouln't be possible to redirect Serial output to telnet? I mean implementing something to override default logic. In this way existing libraries traces could be debugged over telnet

JoaoLopesF commented 6 years ago

Hi Di castro,

I not do it in this library. Only method to do it is changing original Serial code in plataform, but I not recomend it.

Regards

Joao