Viewing Server-Sent Events in Firefox

Viewed 1112

SSE is a simple and straight-forward alternative to WebSockets when you need a one-way channel for events coming from the server.

In Chrome Dev Tools' Network tab, you can click the resource (url) where the SSE originates from and view the stream in a tab of its own. I cannot seem to find this functionality in Firefox.

Is there a simple way of viewing server-sent events in Firefox, that doesn't require me to change the source code (inserting logging statements)?

2 Answers

Firefox (as of version 67) does not support this feature yet. Though there is an enhancement request for this filed at https://bugzil.la/1405706.

Firefox 82 and onwards should be able to show SSE messages in the Network > Response tab of the file which is sending those events.

Related