# \[Discussion\]Layout/syntax of the debug in complete object mode

**URL:** <https://discourse.nodered.org/t/discussion-layout-syntax-of-the-debug-in-complete-object-mode/52561>\
**Category:** General\
**Created:** [22 October 2021 09:09 UTC](https://discourse.nodered.org/t/discussion-layout-syntax-of-the-debug-in-complete-object-mode/52561 "2021-10-22T09:09:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [22 October 2021 09:09 UTC](https://discourse.nodered.org/t/discussion-layout-syntax-of-the-debug-in-complete-object-mode/52561/1 "2021-10-22T09:09:19Z")

</div>

Can we have a little chat about the look of the debug in complete object mode

1. 

1st look is great - says we've got an object called msg  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/7/97d2f0b773386218f3076ea251eff1cbeccd3b0b.png)

1. 

Clicking on arrow we get  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/7/f7e13cea7d30d382fe043934514153c55311e3b0.png)

In my mind - I think it should say msg: _object_ and not just _object_

My reasoning is, that when we click on the payload arrow we get  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/b/fbf28ab5a2576ccc7ccf4c10475246f4956f0027.png)

i.e it still says payload: _object_ and not just _object_

1. 

The big one 🙂

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/3/43e47f27e60d4bf4f9cd9a8115cc4679883c8c6e.png)

When I look at this, due to the indenting, I read it as I have an object called msg, with inner objects called payload and completeData

And then within completeData, I have \_msgid, myymd and mytimes

But I don't of course, I have 5 objects at the same level

Is it just me that gets confused? 😃

What do other people think?

---

<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:** [22 October 2021 09:31 UTC](https://discourse.nodered.org/t/discussion-layout-syntax-of-the-debug-in-complete-object-mode/52561/4 "2021-10-22T09:31:02Z")

</div>

You aren't the only one to get confused 🙂

However, it is a fairly standard layout and I get the same cognitive dissonance in other applications as well 🤪

I guess I've always just assumed that it is how it is. Not that big a deal and I've never considered it enough of an issue to risk distraction from other developments.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [22 October 2021 09:32 UTC](https://discourse.nodered.org/t/discussion-layout-syntax-of-the-debug-in-complete-object-mode/52561/5 "2021-10-22T09:32:42Z")

</div>

What about item 2?

---

<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:** [22 October 2021 09:42 UTC](https://discourse.nodered.org/t/discussion-layout-syntax-of-the-debug-in-complete-object-mode/52561/6 "2021-10-22T09:42:58Z")

</div>

Yes, I guess you are right, it would be more consistent. Probably easier for begginers to comprehend.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [22 October 2021 09:46 UTC](https://discourse.nodered.org/t/discussion-layout-syntax-of-the-debug-in-complete-object-mode/52561/7 "2021-10-22T09:46:40Z")

</div>

While re-loooking at item 2 - I'm wondering if it should be indented?

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

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/5/c5afbd64674cf3930430af682dda32efe1ab8d21.png)

---

<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:** [22 October 2021 09:49 UTC](https://discourse.nodered.org/t/discussion-layout-syntax-of-the-debug-in-complete-object-mode/52561/8 "2021-10-22T09:49:03Z")

</div>

Slightly tricky to know - for me personally, the available width for showing information is important so I guess the question would be whether the clarity from indentation helps more than having space for information display?

---

<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:** [21 December 2021 09:49 UTC](https://discourse.nodered.org/t/discussion-layout-syntax-of-the-debug-in-complete-object-mode/52561/9 "2021-12-21T09:49:14Z")

</div>

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