# Vote for change. Debug "payload" only || or || the whole \`msg\`?

**URL:** https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216
**Category:** General
**Created:** [7 June 2026 13:46 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216 "2026-06-07T13:46:35Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![PizzaProgram](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pizzaprogram/32/19431_2.png) [@PizzaProgram](https://discourse.nodered.org/u/PizzaProgram)
#### Post date: [7 June 2026 13:46 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/1 "2026-06-07T13:46:35Z")

</div>

I've [opened a request](https://discourse.nodered.org/t/req-add-to-user-settings-debug-payload-only/101215) at Core Dev. sub-section,  
but I'm interested how average users think about this?

_Poll ([view on site](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/1))_

 ![kép](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/a/badcfea815512d934d834f6d9eb50ff43891fb6c.png)

# Why ?

I'm asking this, because in many cases it is misleading that only a small part of the whole `msg` is visible at the right side. Especially since "topic" was introduced.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [7 June 2026 14:07 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/2 "2026-06-07T14:07:40Z")

</div>

This was discussed recently and, if I remember correctly, it was decided that there would be an enhancement, though I don't remember exactly what was decided.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [7 June 2026 15:06 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/3 "2026-06-07T15:06:27Z")

</div>

This PR is already merged for v5 - [Allow a nodes defaults to be overridden by settings.js file by dceejay · Pull Request #5591 · node-red/node-red · GitHub](https://github.com/node-red/node-red/pull/5591)  
Allows setting the defaults for that and many nodes if required.

---

<div class="post-metadata">

### Author: ![kitwar](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kitwar/32/55008_2.png) [@kitwar](https://discourse.nodered.org/u/kitwar)
#### Post date: [7 June 2026 16:34 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/4 "2026-06-07T16:34:50Z")

</div>

I voted to keep `msg.payload` as default.

I always manually set to "Complete Message", it's an "annoying" always process. In 5 years I think there were maybe 2% of cases in which I only wanted to debug msg.payload and even then I probably decided to switch to the whole message.

BUT, in the beginning, having it as `msg.payload` by default, helped a lot in teaching me the importance of the payload property. It is basically "the main thing", especially in regards to the default nodes and in travels between servers.

I think a beginner should work with the payload first, and then realize there's the `msg` layer, and payload is part of it, and so on. I know it sounds very "obvious" and "they should know that already" probably.

Maybe make a setting "debug whole message by default", for advanced users.

---

<div class="post-metadata">

### Author: ![PizzaProgram](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/pizzaprogram/32/19431_2.png) [@PizzaProgram](https://discourse.nodered.org/u/PizzaProgram)
#### Post date: [7 June 2026 17:41 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/5 "2026-06-07T17:41:28Z")

</div>

Thanks, that's great but:

- manipulating the settings file is not user friendly at all.
- I need to install it to 50+ PC. Changing those always is a pain in the ...
- I think if v5 node.js minimum is not backported to v20, I wound be able to switch to v5, because the last version that still runs on Win7-32bit is [Node.js v20](https://github.com/vladimir-andreevich/node.js-windows-7/tree/main/v20).

# \< OFF \>

> [@kitwar](#):
>
> I voted to keep `msg.payload` as default.
> 
> I always manually set to "Complete Message", it's an "annoying" always process. In 5 years I think there were maybe 2% of cases in which I only wanted to debug msg.payload and even then I probably decided to switch to the whole message.

😃 Don't you feel You contradict yourself "a little bit"?

My experience when I started to use NR:

- IMHO my English is not bad.  
_(I even learned a semester as "English + programmer teacher")_

- yet, I did not know that "payload" word, had to look up.  
I guess `msg.data` had been too easy + logical + international ... 😉

- and I always forgot it, when I had to type it in a function...

- It always confused me, because I did not see the whole `msg` structure.

- Even yesterday I did a mistake by sending out a trigger to a 2th output via:  
`node.send([null, {}]);` instead of  
`node.send([null, {"payload": true}]);` and had to debug for 3 hours...  
_(Because I have "tried" it in an inject node: and it seemed to work! = changed "true" to empty obj. But actually the inject sets `"payload"` by default, what I forgot to check.)_

Usually I work 6-12 weeks with NR + JS, than put it aside for 12-24 month. When I get back, I've already forgot almost everything and have to start over learning NR again. 😥

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [7 June 2026 18:10 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/6 "2026-06-07T18:10:02Z")

</div>

It is often valuable to see the entire message object, but in general I prefer each debug output to occupy as little browser space as possible so I can see more payloads.

I sympathise with your reluctance to edit each device to make it default to showing the entire message, but not so much that I'd be happy to edit _my own_ 50+ devices' settings file to revert to msg.payload! 🙃

Edit - I guess any change in default behaviour is only going to affect new debug nodes, so I don't need to edit my settings files.

Incidentally, I understand that your Node-red devices are distributed around customers' sites.  
Would it be better to have a customised debug handler to pass debug messages to your HQ servers - by MQTT maybe?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [7 June 2026 18:17 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/7 "2026-06-07T18:17:57Z")

</div>

> [@PizzaProgram](#):
>
> - I need to install it to 50+ PC. Changing those always is a pain in the

You need ansible.

---

<div class="post-metadata">

### Author: ![kitwar](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kitwar/32/55008_2.png) [@kitwar](https://discourse.nodered.org/u/kitwar)
#### Post date: [7 June 2026 19:24 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/8 "2026-06-07T19:24:21Z")

</div>

> [@PizzaProgram](#):
>
> 😃 Don't you feel You contradict yourself "a little bit"?

Well simply my point was that payload as default is annoying for ~~all~~ most\* of us experienced users, **but** important for beginners, I think.

There has to be at least a setting to change the default once one gets over the beginner phase.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [7 June 2026 19:43 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/9 "2026-06-07T19:43:25Z")

</div>

> [@kitwar](#):
>
> annoying for all of us experienced users

Not all of us!

95% of the time I'm interested in msg.payload, sometimes msg.topic too. Both of these are available with the current default.

The other 5%, occasionally other properties such as msg.url. usually i will debug just this novel property.

Almost never msgid, which is just a waste of available debug space.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [7 June 2026 21:13 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/10 "2026-06-07T21:13:13Z")

</div>

> [@PizzaProgram](#):
>
> - I won’t be able to switch to v5

We won’t officially support v20 but it may still work, as I’m not (yet) aware of any v24 only features we are using, but they will no doubt creep in sooner than you would like. Also your request to change the debug default would only ever make it into v5 ( or 6) so if you really want that then you would have to change anyway…

---

<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: [7 June 2026 23:02 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/11 "2026-06-07T23:02:54Z")

</div>

> [@PizzaProgram](#):
>
> - I need to install it to 50+ PC.

As Colin has said, managing that number should probably be using automation if you aren't already. With automation, ensuring that all of them have the right (mostly common) settings should be easy.

Changes to settings.js are needed periodically anyway due to Node-RED updates. And surely there will be other periodic changes needed across the estate?

---

<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: [8 June 2026 06:52 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/12 "2026-06-08T06:52:36Z")

</div>

Use ["alias nodes"](https://discourse.nodered.org/t/alias-nodes-redefine-default-settings-as-new-nodes/98137) and have both. Works _now_, see my [original response](https://discourse.nodered.org/t/req-add-to-user-settings-debug-payload-only/101215/5).

---

<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: [8 June 2026 08:30 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/13 "2026-06-08T08:30:53Z")

</div>

> [@dceejay](#):
>
> We won’t officially support v20 but it may still work, as I’m not (yet) aware of any v24

No. Node-RED 5 will refuse to run on anything prior to 22. There are simply too many security issues with old versions of dependencies that we had to move up the baseline.

---

<div class="post-metadata">

### Author: ![ThingsTinkerer](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)
#### Post date: [9 June 2026 23:23 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/14 "2026-06-09T23:23:58Z")

</div>

Several seconds spent every day to do this (when forgetting to copy an existing node).

---

<div class="post-metadata">

### Author: ![hazymat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hazymat/32/108159_2.png) [@hazymat](https://discourse.nodered.org/u/hazymat)
#### Post date: [11 June 2026 21:47 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/15 "2026-06-11T21:47:33Z")

</div>

> [@TotallyInformation](#):
>
> With automation, ensuring that all of them have the right (mostly common) settings should be easy

Indeed, not to mention the fact that automating a settings file is far more straightforward than changing an option in a UI.

More to the point, user settings in the UI are minimal right now, imagine if every possible little customisation were a setting. It would bloat immediately, and you'd then have to introduce a settings search -\> yuk!

No, User Settings are absolutely not for this kind of thing in my opinion. But it's a fine idea for settings.js

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [11 June 2026 22:11 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/16 "2026-06-11T22:11:47Z")

</div>

The other thinking was that if you are working with a team then settings allows you to set up a “house style” that you can all work to. ( as per themes, context, function editor config, etc ), and is easy to pre-configure or copy/deploy around using automation rather than every user have to setup their own on every browser.

---

<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: [9 September 2026 22:12 UTC](https://discourse.nodered.org/t/vote-for-change-debug-payload-only-or-the-whole-msg/101216/17 "2026-09-09T22:12:33Z")

</div>

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