# Debug nodes are not working properly

**URL:** <https://discourse.nodered.org/t/debug-nodes-are-not-working-properly/19054>\
**Category:** General\
**Created:** [12 December 2019 03:23 UTC](https://discourse.nodered.org/t/debug-nodes-are-not-working-properly/19054 "2019-12-12T03:23:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterwh83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peterwh83/32/11458_2.png) [@peterwh83](https://discourse.nodered.org/u/peterwh83)\
**Post date:** [12 December 2019 03:23 UTC](https://discourse.nodered.org/t/debug-nodes-are-not-working-properly/19054/1 "2019-12-12T03:23:01Z")

</div>

There is no debug messages displayed for debug nodes.

And I always got below error after I triggered the flows with debug nodes in use.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/2dd509c1b5ff5165387311e42bb79240e0e2ead6.png)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [12 December 2019 09:39 UTC](https://discourse.nodered.org/t/debug-nodes-are-not-working-properly/19054/2 "2019-12-12T09:39:24Z")

</div>

You haven't provided much information to allow someone to help you.

1. what platform and OS are you running NR on?
2. what version of Node-RED are you using?
3. What version of Node.js?
4. Have you ever seen a debug message in the sidebar?

- if so what changed?

1. Are the `debug` nodes active?  
 ![Screen Shot 2019-12-12 at 4.37.41 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/f/f20fee4a54e87e1fcbe780cf12c1d96f4990b1c5.png)

If none of this helps, please provide your flow but read [this thread](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506) first.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [12 December 2019 10:47 UTC](https://discourse.nodered.org/t/debug-nodes-are-not-working-properly/19054/3 "2019-12-12T10:47:00Z")

</div>

Also, where is the machine you've installed it on (LAN or cloud) and where are you trying to access it from (same LAN or somewhere else)

---

<div class="post-metadata">

**Author:** ![peterwh83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/peterwh83/32/11458_2.png) [@peterwh83](https://discourse.nodered.org/u/peterwh83)\
**Post date:** [30 December 2019 02:46 UTC](https://discourse.nodered.org/t/debug-nodes-are-not-working-properly/19054/4 "2019-12-30T02:46:42Z")

</div>

Hi zenofmud.  
Here are the questions for your questions:

1. Our NR is running on IBM public cloud foundry .
2. The version of Node-red is 0.8.0 currently.
3. The version of Node.js is 6.x currently.  
Here is the NR setting file:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/b/bc6e4065596120b609f896c4a546711ca6ff3713.png)
4. The debug message was displaying normal previously until about last month and nothing changed.  
(the debug message were not working on all my 6 NR)
5. The debug nodes are activated.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/c/c381d1e457fe9f8c495e0dcbcd7bbfa0f7bc81b3.png)

Hi cymplecy,  
The NR are installed on cloud and I am accessing it from my laptop.

Thanks very much for your reply and sorry for my late response. I was on vacation last week.

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [30 December 2019 10:38 UTC](https://discourse.nodered.org/t/debug-nodes-are-not-working-properly/19054/5 "2019-12-30T10:38:16Z")

</div>

It looks like whatever you have behind your inject node let the flow & Node-RED crash (see “lost connection” message). Likely Node-RED is running as a service and restarts immediately but you will never see something on your debug node.  
Perhaps you should take a look on your console or log-file for error messages (if possible when running Node-RED in a cloud)
