Conversation
|
Something that just dawned on me is the confusion factor of this feature - someone turns on pause, forgets its on, does some debugging, gets no output, comes to the forum, saying they got no output from the debug node, long discussion ensues until someone asks about the debug pause button. Perhaps a notification if messages are dropped to indicate that - bottom of the debug panel, a friendly counter "XYZ debug messages dropped" - ideally in red, bold lettering! |
|
Well it's non sticky - so a simple refresh/reload clears it. Let's not over-engineer it at this point. |
|
I have pushed an update to show a paused message in the stream of debug messages itself, which also shows a count of how many messages have been dropped. This reinforces that messages are dropped, rather than queued up. It also helps to see in the stream of messages where the gaps are. Screen.Recording.2026-01-21.at.11.18.51.mov |
|
Looks amazing! 👍 |
Proposed changes
As per discussion in forum here https://discourse.nodered.org/t/suspend-debug-button/99952
This PR adds a simple pause button to the debug sidebar
Screen.Recording.2025-12-17.at.19.47.09.mov
clicking it pauses handling of any incoming messages (I.E. it drops them completely). So the list stops scrolling immediately. Clicking again lets more messages arrive - but there will of course be a gap in the sequence.
This only affects the browser side - it does not stop the server sending messages.
Checklist
npm run testto verify the unit tests pass