# Debug does not show outputs

**URL:** <https://discourse.nodered.org/t/debug-does-not-show-outputs/90968>\
**Category:** General\
**Tags:** debug\
**Created:** [14 September 2024 08:54 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968 "2024-09-14T08:54:24Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![sefaguntepe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sefaguntepe/32/94497_2.png) [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Post date:** [14 September 2024 08:54 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/1 "2024-09-14T08:54:24Z")

</div>

Hello, my Node-Red is working fine. However, for some reason I don't understand, it does not show any output from the debugs. However, all nodes are working.

It works very rarely, for example:

When I refresh the page, only one message can appear.

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

- I tried rebooting, the problem starts again after 1-2 days.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [14 September 2024 09:01 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/2 "2024-09-14T09:01:27Z")

</div>

Hi @sefaguntepe

What browser are you using?, and does the browser show any error output in its console?

The debug node uses a web socket, to pass the message out to your Browser, so its worth checking if the browser is having issues.

And to ask the obvious, has a restart of the Node RED process not helped?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [14 September 2024 09:09 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/3 "2024-09-14T09:09:58Z")

</div>

I am more _suspicious_ of the cropped picture.

Putting that aside, I'd like to ask what the `test` node is injecting, and what the `debug` is showing.

If the `inject` has no `payload` and the `debug` only showing `payload` would show nothing.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [14 September 2024 09:15 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/4 "2024-09-14T09:15:01Z")

</div>

> [@Trying\_to\_learn](#):
>
> If the `inject` has no `payload` and the `debug` only showing `payload` would show nothing.

I think the debug node just outputs `undefined`, if an expected key is not present when it's trying to report on it - at least it does here 🤷‍♂️

It looks as if the debug pane its self is blank with the screenshot from the OP (as if nothing at all is being added to it at DOM level)

![Screenshot 2024-09-14 at 10.10.58](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/c/4cf2b9fd6566b10b97139fa7b61d7fa1c8caf7c1.png)

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [14 September 2024 09:19 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/5 "2024-09-14T09:19:24Z")

</div>

Mia Culpa.

Sorry. Seems the brain isn't at full capacity.

---

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [14 September 2024 15:27 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/6 "2024-09-14T15:27:47Z")

</div>

which version of Node-RED?

I've managed to crash Node-RED so that it was in a "zombie state" (i.e. didn't crash but also no error message, no debug), so there was basically no indication that it wasn't working.

One use case that can cause this is duplicating the http endpoint msg - it has a loop error when the msg is transformed to Json (during duplication).

---

<div class="post-metadata">

**Author:** ![sefaguntepe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sefaguntepe/32/94497_2.png) [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Post date:** [14 September 2024 15:55 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/7 "2024-09-14T15:55:41Z")

</div>

Hello, I have tried all browsers but still the same. I restart it and it works fine for 1-2 days, then the problem appears.

---

<div class="post-metadata">

**Author:** ![sefaguntepe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sefaguntepe/32/94497_2.png) [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Post date:** [14 September 2024 15:55 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/8 "2024-09-14T15:55:51Z")

</div>

Last versiyon

---

<div class="post-metadata">

**Author:** ![sefaguntepe](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sefaguntepe/32/94497_2.png) [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Post date:** [14 September 2024 15:56 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/9 "2024-09-14T15:56:43Z")

</div>

I've been using it for 2 years, this is the first time I've encountered something like this, the message is full, payload and topic

---

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [14 September 2024 16:10 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/10 "2024-09-14T16:10:22Z")

</div>

try running node-red in debug mode (or even better trace) and check the log files.

in settings.js:

```auto
  logging: {
        /** Only console logging is currently supported */
        console: {
            /** Level of logging to be recorded. Options are:
             * fatal - only those errors which make the application unusable should be recorded
             * error - record errors which are deemed fatal for a particular request + fatal errors
             * warn - record problems which are non fatal + errors + fatal errors
             * info - record information about the general running of the application + warn + error + fatal errors
             * debug - record information which is more verbose than info + info + warn + error + fatal errors
             * trace - record very detailed logging + debug + info + warn + error + fatal errors
             * off - turn off all logging (doesn't affect metrics or audit)
             */
            level: "info",
            /** Whether or not to include metric events in the log output */
            metrics: false,
            /** Whether or not to include audit events in the log output */
            audit: false
        }
    },

```

set level to either `debug` or `trace` and after it fails, examine the corresponding log.

---

<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:** [15 September 2024 10:19 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/11 "2024-09-15T10:19:11Z")

</div>

@sefaguntepe it doesn't look like the debug node you show in your flow will run at a particular interval or when you do a deploy

also saying 'Last versiyon' isn't helpful since things change.

Please stop and start NR and copy and paste the startup log. (not a screen image)  
what device are you running NR on?  
Are you using 'Home Assistant' or 'docker'?

---

<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:** [14 December 2024 10:19 UTC](https://discourse.nodered.org/t/debug-does-not-show-outputs/90968/12 "2024-12-14T10:19:29Z")

</div>

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