# Debug node suggestion

**URL:** <https://discourse.nodered.org/t/debug-node-suggestion/48693>\
**Category:** Feature Requests\
**Created:** [21 July 2021 08:17 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693 "2021-07-21T08:17:17Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![pinguugnip](https://avatars.discourse-cdn.com/v4/letter/p/7ea924/32.png) [@pinguugnip](https://discourse.nodered.org/u/pinguugnip)\
**Post date:** [21 July 2021 08:17 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/1 "2021-07-21T08:17:17Z")

</div>

First, congratulations on version 2.0.

I read in the article for it that you welcome suggestions for future versions, so I thought I would offer mine. Apologies of this exists and my lack of knowledge means I haven't found it.

The option I would like is to have the default output on the debug node set to "complete message object" or be able to set it as a default if the user wants to. For my personal use, I find it a bit annoying having to change it each time.

Thanks.

---

<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:** [21 July 2021 14:31 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/2 "2021-07-21T14:31:09Z")

</div>

Plus’s one from me. This is something I asked for quite awhile ago.

---

<div class="post-metadata">

**Author:** ![molesworth](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/molesworth/32/11748_2.png) [@molesworth](https://discourse.nodered.org/u/molesworth)\
**Post date:** [21 July 2021 15:43 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/3 "2021-07-21T15:43:44Z")

</div>

Agreed. When using the debug node I nearly always want to see the whole message, as I tend to use additional fields.

---

<div class="post-metadata">

**Author:** ![ScheepersJohan](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/scheepersjohan/32/39556_2.png) [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Post date:** [21 July 2021 16:03 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/4 "2021-07-21T16:03:10Z")

</div>

Same here, always more want to see it all.

---

<div class="post-metadata">

**Author:** ![JayDickson](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jaydickson/32/90592_2.png) [@JayDickson](https://discourse.nodered.org/u/JayDickson)\
**Post date:** [21 July 2021 16:17 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/5 "2021-07-21T16:17:15Z")

</div>

Totally agree. I usually just set one to message object and copy/paste from that point out.

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [21 July 2021 16:27 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/6 "2021-07-21T16:27:53Z")

</div>

I also always use _"complete message object"_, but I can imagine this might have a negative performance impact for some installations (since more data is being pushed to the flow editor frontend)...

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [21 July 2021 16:38 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/7 "2021-07-21T16:38:11Z")

</div>

> [@BartButenaers](#):
>
> I can imagine this might have a negative performance impact for some installations

Indeed - we aren't likely to change the default behaviour for the node for this reason. But letting the user pick their own default is worth thinking about.

We don't have a pattern for users to set default preferences for a node's configuration. Would need to think about how that could work in general and not just for the Debug node.

---

<div class="post-metadata">

**Author:** ![greengolfer](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/greengolfer/32/28276_2.png) [@greengolfer](https://discourse.nodered.org/u/greengolfer)\
**Post date:** [21 July 2021 16:50 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/8 "2021-07-21T16:50:28Z")

</div>

> [@knolleary](#):
>
> We don't have a pattern for users to set default preferences for a node's configuration. Would need to think about how that could work in general and not just for the Debug node.

Agreed. It is true for debug but all nodes with a configuration could benefit of this feature.  
At the moment, I am keeping in a tab called "template" the configured nodes (without any link between them) I often used and I can reuse them through copy/paste. Not ideal but save some hassle. A cleaner way would be good.

---

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [21 July 2021 19:32 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/9 "2021-07-21T19:32:58Z")

</div>

I would like the option to choose the default behavior as well.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [21 July 2021 20:50 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/10 "2021-07-21T20:50:47Z")

</div>

Why not set up something using the library? Then you can always import the snippet.

Select a node configured how you want. Use the menu to export it but to the library rather than clipboard. Now you can import it whenever you like.

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [21 July 2021 21:03 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/11 "2021-07-21T21:03:07Z")

</div>

The difference is simplicity of usage. Drag in node with user defined default settings versus couple of clicks including search by name and also having some kind of naming system which does not make the user to memorize too hard without having notebook side by ...  
It is question of time to result and that is one of major benefits of Node-RED. And can be improved ..

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [21 July 2021 21:25 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/12 "2021-07-21T21:25:08Z")

</div>

Well, I will admit that it has never bothered me. Personally, I will only ever need to do a configured debug node once per tab. Everything else is copy/paste anyway.

But then, as the most common starting flow that I do is `inject->function->debug`, that is what I put into the library. 🙂

Oh, and I always start with msg.payload output for debug as the extra cruft always annoys me 🙂

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [21 July 2021 21:30 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/13 "2021-07-21T21:30:03Z")

</div>

By gaining experiences of working with some environment you are like piano player. Having learned the score it takes to train it to the muscle memory and then you are ready to perform. But even then, the piano must be in perfect tune.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [21 July 2021 21:52 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/14 "2021-07-21T21:52:45Z")

</div>

Ah, that explains it. I've always been a guitar player 🤣

---

<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:** [19 September 2021 21:53 UTC](https://discourse.nodered.org/t/debug-node-suggestion/48693/15 "2021-09-19T21:53:19Z")

</div>

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