# Bug? Disable button on Debug node

**URL:** <https://discourse.nodered.org/t/bug-disable-button-on-debug-node/92415>\
**Category:** General\
**Created:** [15 October 2024 16:51 UTC](https://discourse.nodered.org/t/bug-disable-button-on-debug-node/92415 "2024-10-15T16:51:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![phreed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/phreed/32/95321_2.png) [@phreed](https://discourse.nodered.org/u/phreed)\
**Post date:** [15 October 2024 16:51 UTC](https://discourse.nodered.org/t/bug-disable-button-on-debug-node/92415/1 "2024-10-15T16:51:12Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/8/7841ff60e570041b57a578bb447be713cc4a26b9.png)

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

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [15 October 2024 16:56 UTC](https://discourse.nodered.org/t/bug-disable-button-on-debug-node/92415/2 "2024-10-15T16:56:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)\
**Post date:** [15 October 2024 18:07 UTC](https://discourse.nodered.org/t/bug-disable-button-on-debug-node/92415/3 "2024-10-15T18:07:17Z")

</div>

Seems not a bug:

 ![Capture d’écran 2024-10-15 à 20.06.06](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/2/226c3003bc55f3c8d55c4591e9af7128350a2b46.png)

---

<div class="post-metadata">

**Author:** ![phreed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/phreed/32/95321_2.png) [@phreed](https://discourse.nodered.org/u/phreed)\
**Post date:** [15 October 2024 18:50 UTC](https://discourse.nodered.org/t/bug-disable-button-on-debug-node/92415/4 "2024-10-15T18:50:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [15 October 2024 19:19 UTC](https://discourse.nodered.org/t/bug-disable-button-on-debug-node/92415/5 "2024-10-15T19:19:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![phreed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/phreed/32/95321_2.png) [@phreed](https://discourse.nodered.org/u/phreed)\
**Post date:** [15 October 2024 19:27 UTC](https://discourse.nodered.org/t/bug-disable-button-on-debug-node/92415/6 "2024-10-15T19:27:54Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [29 October 2024 19:28 UTC](https://discourse.nodered.org/t/bug-disable-button-on-debug-node/92415/7 "2024-10-29T19:28:36Z")

</div>

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