JoaoLopesF / SerialDebug

Improved serial debug and simple software debugger to Arduino. With debug levels, see/change global variables, call functions, watches, and more.
MIT License
244 stars 39 forks source link

Network option #6

Open chrwei opened 5 years ago

chrwei commented 5 years ago

an option to have the app listen on a TCP port and the library connect to it and send messages over TCP instead of serial would be completely amazing. this would free up the UART on boards like the ESP8266 and in my experience TCP streams on the ESP8266 are faster than serial anyway

JoaoLopesF commented 5 years ago

Hi @chrwei Is a good idea. I have another library to debug over TCP/IP (telnet): https://github.com/JoaoLopesF/RemoteDebug

It have debug levels too, but not debugger.

In future, Is possible that I integrate an debugger in it, as SerialDebug have.

Thanks for collaborate Regards,

Joao Lopes

chrwei commented 5 years ago

I have done things like that before, but if the wifi resets or the device reboots you don't get any debug info again until you manually connect again. having the ESP initiate that connection is what I'd be after. I do have it for basic logging, but this debug GUI looks really useful.

JoaoLopesF commented 5 years ago

Hi, @chrwei

Really the app is good, The idea is do it in future to RemoteDebug too.

Thanks for your feedback.

Regard

Joao Lopes