# The complete msg.payload in Debug - howto

**URL:** <https://discourse.nodered.org/t/the-complete-msg-payload-in-debug-howto/7951>\
**Category:** General\
**Created:** [14 February 2019 02:53 UTC](https://discourse.nodered.org/t/the-complete-msg-payload-in-debug-howto/7951 "2019-02-14T02:53:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)\
**Post date:** [14 February 2019 05:55 UTC](https://discourse.nodered.org/t/the-complete-msg-payload-in-debug-howto/7951/3 "2019-02-14T05:55:12Z")

</div>

Actually, the option to show the "complete msg object" will not help showing such a long string... it is there to show the top level fields that are defined on the incoming msg object (topic and payload are just two of those fields, but there are others).

There is a section in `settings.js` that will allow you to show longer data fields in the debug sidebar:

```
// The maximum length, in characters, of any message sent to the debug sidebar tab
debugMaxLength: 1000,

```

Any changes you make to this file are only read once, so you will have to restart node-red for the change to take effect -- and beware that it will affect **every** debug node.

There is also a checkbox on the debug node itself that will redirect the _entire_ output to the "system console", which is probably the easiest solution to start with. Whenever a new msg arrives you see it added to wherever your node-red server is logging its output.

---

_[View the full topic](https://discourse.nodered.org/t/the-complete-msg-payload-in-debug-howto/7951)._
