-
Notifications
You must be signed in to change notification settings - Fork 575
-
I tried adding the following to the top of my .ino file, but I still don't get any debug logging:
#undef NODEBUG_WEBSOCKETS
#define DEBUG_ESP_PORT Serial
What am I missing? TIA.
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments 1 reply
-
did you find a way to enable the debug?
Beta Was this translation helpful? Give feedback.
All reactions
1 reply
-
No, I don't think so. I think I had to change the source. Or maybe I ended up using another websocket library, I don't recall, sorry.
Beta Was this translation helpful? Give feedback.
All reactions
-
for platform IO add
build_flags = -D DEBUG_ESP_PORT=Serial
to your platformio.ini.
for the limited arduino IDE see here:
https://arduino-esp8266.readthedocs.io/en/latest/Troubleshooting/debugging.html
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment