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

Some "Errors" detected #11

Closed bospre closed 7 years ago

bospre commented 7 years ago

Hello, I have been using your lib for a couple of days and I like it very much. I have encountered the following (little) problems: -After resetting the ESP loglevel ist set to 'off', but Errors a still logged.

JoaoLopesF commented 7 years ago

Hi,

About more than one client, the library serves only one connection, no sense to two debugging a same time.

Please make one small code to reproduze the another issue e send to me.

Thanks a lot Regards

Joao

bospre commented 7 years ago

Hello, see partly attached log

*** Remote debug - over telnet - for ESP8266 (NodeMCU) - version 1.0.0

As you can see, it does not matter what debug-Option (Debug on or debug off) you choose

JoaoLopesF commented 7 years ago

Hi bospre

The 'I' command is not to disable the debug, it is only to display or not the debug level at the beginning of each line.

My suggestion to use lib is as follows:

So when connecting to telnet, the default level is DEBUG, Only DEBUG level debugging is seen. If at a moment you want details, click 'v' to ativate the VERBOSE, and others levels..

Lib have the end () method, to terminate telnet and debugs, Then it deactivates the debugs. But I do not recommend this for development environments, since the lib was made for as little overhead as possible.

I hope I have helped

Regards

Joao