# Debug Text Limitation

**URL:** <https://discourse.nodered.org/t/debug-text-limitation/52373>\
**Category:** General\
**Created:** [18 October 2021 17:34 UTC](https://discourse.nodered.org/t/debug-text-limitation/52373 "2021-10-18T17:34:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmorris644](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jmorris644/32/31964_2.png) [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Post date:** [18 October 2021 17:34 UTC](https://discourse.nodered.org/t/debug-text-limitation/52373/1 "2021-10-18T17:34:40Z")

</div>

I have some very long json content going to the debug window. The debug window seems to be truncating them with a ... at the end.

I did a search but could not find out how to be able to see the whole content in the debug window.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [18 October 2021 17:41 UTC](https://discourse.nodered.org/t/debug-text-limitation/52373/2 "2021-10-18T17:41:34Z")

</div>

I believe this can be set in the setting js.  
If you output to console i think you will see the whole thing, or run it through a json node then you can see more in the debug pain.

---

<div class="post-metadata">

**Author:** ![jmorris644](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jmorris644/32/31964_2.png) [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Post date:** [18 October 2021 17:45 UTC](https://discourse.nodered.org/t/debug-text-limitation/52373/3 "2021-10-18T17:45:58Z")

</div>

Thanks. Outputting it to the console worked.

---

<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:** [18 October 2021 21:10 UTC](https://discourse.nodered.org/t/debug-text-limitation/52373/4 "2021-10-18T21:10:53Z")

</div>

I recently posted a custom logger that may help. It uses Node-RED's standard logs but filters them and outputs to a web page.

---

<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:** [19 October 2021 01:18 UTC](https://discourse.nodered.org/t/debug-text-limitation/52373/5 "2021-10-19T01:18:34Z")

</div>

> [@jmorris644](#):
>
> The debug window seems to be truncating them with a ... at the end.

For future reference, the max length of a debug message is defined in settings.js:

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

```

There appears to be no way to set it to unlimited, so you are right to use the console log if you need all of the data... or you can always put a `file write` node next to your main flow.

I usually increase that to 10,000 -- just remember to restart node-red after making that change.

---

<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:** [19 October 2021 01:20 UTC](https://discourse.nodered.org/t/debug-text-limitation/52373/6 "2021-10-19T01:20:42Z")

</div>

Just remember that the debug panel can get VERY laggy if posting a lot of long data to it, that is why it was kept short in the first place 😀

---

<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:** [18 December 2021 01:21 UTC](https://discourse.nodered.org/t/debug-text-limitation/52373/7 "2021-12-18T01:21:20Z")

</div>

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