Remote debugging in V3.0?
I've just converted my SensESP app to V3.0, which does not have easy serial debugging. Under V2 this was not a problem: pop in -D REMOTE_DEBUG under the build_flags and I could easily telnet into the ESP. According to the upgrade documentation this should work under V3 as well, however when doing so the connection gets refused on port 23.
4 Replies
No, sorry, that has been removed in v3. The RemoteDebug library has been abandonded for several years, and also, I wasn't aware anyone was still using that feature. 🙈
One motivation for migrating to native ESP-IDF logging is that logging output can be forwarded to a callback function, meaning that it should be possible to get logging output exposed over e.g. WebSockets to the web UI.
So any recipe for that? Else I'm pegged to 2.7.2
I'm quite happy with never touching USB: just use OTA for updates and RemoteDebug when in trouble (else debug is off)
I have one project in which I create a TCP server for monitoring an NMEA 0183 input stream. I'll clean it up and make it public - it should be quite possible to take the server code and connect ESP-IDF logging to it.
Perfect, that would be extremely useful. My ESP's disappear embedded and do not expose USB ports that are easily accessible afterwards. Remote is a winner!