I am doing the SSE example in the Build Web Servers eBook (using the BME280 sensor – module 3.1), and expect to see the ESP send the client browser an update every 30 seconds using the EventSource Protocol. The illustration in the book of the browser’s console shows these “new readings” very nicely, but using the Foxfire browser and going to Tools/Browser Tools/Browswer Console (or Ctrl-Shift-J), I don’t see any of this, yet I see the webpage values update every 30 seconds. I have the console configured to show everything (errors, warnings, logs, info, debug, CSS, XHR, and Requests). How can I see what the eBook shows?
Hi.
I’m not familiar with the Firefox browser when it comes to debugging.
But, I simply opened the console with CTRL+Shift+K and the readings are showing as in the eBook.
Open the console with CTRL+Shift+K.
All projects in the eBook were tested with Google Chrome web browse, and that’s the one we recommend using.
Regards,
Sara
Hi Sara …. Shift-Ctrl-K brings up Tools / Browser Tools / Web Developer Tools, and that shows the results 🙂 Shift-Ctrl-J brings up Tools/ Browser Tools / Browser Console … and that doesn’t show the results (I guess the book wanted the “Browser Console” or Shift-Ctrl-J, which doesn’t work for Firefox). Thanks.
You can close this question.
… as an additional comment … I did a search in the forum for the answer to this question, but didn’t find anything. I’d prefer not bothering you/the community with “old” questions, but what should I have searched on for this question, if you’ve answered it already? (Foxfire is very commonly used, and the users of your eBooks are tech savvy, so I’d be surprised if I’m the 1st one to ask this question!)
Hi
The command for Firefox is different from the command used for Google Chrome. I wasn’t aware of that. I think I’ll include that note in the next eBook update.
I don’t think that question has been asked before.. but now, it is 😀
I’ll mark this issue as resolved.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara
…. when using my desktop instead of my laptop (both with Windows 10, both using latest Foxfire), the console did not come up as before, because of what was selected to see. This would be a source of frustration for someone trying to see the responses from the ESP32 server. So, it is important to state: when using Foxfire to see responses from the ESP server, with the browser up and connected to the ESP32 server, go to Tools / Browser Tools / Web Development Tools, then select the “Console” tab, then highlight the “to see list” – to the upper right, labeled Errors Warnings Logs Info Debug CSS XHR Requests — select them all (i.e. highlighted) … then you will see the correspondence.