11// //////
2- // Library: Remote debug - debug over telnet - for Esp8266 (NodeMCU) or ESP32
2+ // Library: Remote debug - debug over WiFi - for Esp8266 (NodeMCU) or ESP32
33// Author : Joao Lopes
44// File : RemoteDebug_Basic.ino
55// Notes :
8989
9090#endif // ESP
9191
92- // Remote debug over telnet - not recommended for production, only for development
92+ // Remote debug over WiFi - not recommended for production, only for development
9393
9494#include " RemoteDebug.h" // https://github.com/JoaoLopesF/RemoteDebug
9595
@@ -160,14 +160,13 @@ void setup() {
160160
161161#endif
162162
163- // Initialize the telnet server of RemoteDebug
163+ // Initialize RemoteDebug
164164
165- Debug.begin (HOST_NAME ); // Initiaze the telnet server
165+ Debug.begin (HOST_NAME ); // Initialize the WiFi server
166166
167167 Debug.setResetCmdEnabled (true ); // Enable the reset command
168168
169169 Debug.showProfiler (true ); // Profiler (Good to measure times, to optimize codes)
170-
171170 Debug.showColors (true ); // Colors
172171
173172 // End off setup
@@ -178,10 +177,11 @@ void setup() {
178177 Serial.println (WiFi.localIP ());
179178 Serial.println (" *" );
180179 Serial.println (" * Please use the telnet client (telnet for Mac/Unix or putty and others for Windows)" );
181- Serial.println (" *" );
180+ Serial.println (" * or the RemoteDebugApp (in browser: http://joaolopesf.net/remotedebugapp)" );
181+ Serial.println (" *" );
182182 Serial.println (" * This sample will send messages of debug in all levels." );
183183 Serial.println (" *" );
184- Serial.println (" * Please try change debug level in telnet, to see how it works" );
184+ Serial.println (" * Please try change debug level in client ( telnet or web app) , to see how it works" );
185185 Serial.println (" *" );
186186
187187}
@@ -222,7 +222,7 @@ void loop()
222222 }
223223 }
224224
225- // Remote debug over telnet
225+ // RemoteDebug handle
226226
227227 Debug.handle ();
228228
0 commit comments