Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How do I enable debug logging? #934

Unanswered
JetForMe asked this question in Q&A
Discussion options

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.

You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

did you find a way to enable the debug?

You must be logged in to vote
1 reply
Comment options

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.

Comment options

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

#736
#619 (comment)

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /