I feel a bit uneasy about changing what the flow does simply with a click (or a touch for touchscreens) with no visual change or requiring deployment.
Right click is just my preferred way to have a context sensitive list of actions in any program, including Node-red.
I don't currently have a touchscreen but doesn't a long touch do it?
I was thinking change the small dot from filled to unfilled (or fill colour change) - so yes totally expect to be a visual change on click (or hover) ... like the debug button goes from filled to grey.
I did implement message tracing in the introspection node package. What you can do there is highlight a node and its messages are pushed to the debug panel. This can be done without redeploying anything, so it's "always on".
I use it for finding the specific pathway a message takes (i.e. i've forgotten how my code works!).
But yes it can lead to swamping the editor, so should be used with care.
And we have the Node-RED Debugger plugin which this all falls into the remit of. Not going to reinvent the wheel here. It may be we add to the Debugger plugin and consider making it install by default in NR 5
Well currently it doesn't quite - as (currently implemented) there is no extra flag so the connector only appears if the sidebar output is turned off - but you still can send to console or status.
Good discussion.
I have another proposal, if I may.
The "new" debug node could always have connectors on in and out. The "tickable" button to activate/deactivate the debug would be on the debug node itself and not at the right.
We already have "tickable" boxes at the beginning (inject, cron-plus) at the end, the current debug.
Why not adding a third possible position ?
Like that, we could keep the debug node in the middle of the flows and activate it on demand without any re-wiring.