Bug? Disable button on Debug node

When I press the enable button on the debug node I get unexpected behaviour.
The enable/disable is toggled as expected but the blue dot comes on.
The blue dot indicates that the node needs to be deployed.
However, the behaviour toggles without the deploy.

This is different than the behaviour on the inject node.
When the trigger button is pushed on the inject node the behaviour is triggered but no blue dot appears.

I have replicated this in Node-RED v3.1.9 & 3.1.14

I also noticed this recently when recording a tutorial, running v4.x - thought it was odd at the time, but forgot to return to it.

1 Like

Seems not a bug:

Just because it was intentional does not mean it is not a bug.
Explain how the behaviour makes sense.

The disabling of the debug is a change to the flow json in the editor, if you refresh the page it will reenable, unless you deploy, hence the blue dot to show you that the editor/node has a change that you may want to save.
Pressing the inject button sends a request/msg to the server running the flows but nothing is changed on the editor, hence no blue dot.

2 Likes

I guess the issue is that the blue dot is doing double duty.
It indicates that

  • the changes in the editor are not persistent.
  • the changes have not been propagated to the engine running the flows.

The former being the official significance, the later a happy coincidence.
Could an alternate colour indicate the difference?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.