I have some large complex objects stored in my context variables.
I have found that when I retrieve them via global.get, if I then use a node.warn inside my function node, it shows the retrieved object and lets me drill down through objects that are values within that object.
If however, I set some variable as equal to one of those objects within the object and then use node.warn to send that new variable to the debug pane, instead of seeing an explorable object, I simple see "[object Object]"
I have found that if I wrap that embedded object either during assignment to the variable or once in the variable within a JSON.parse(JSON.stringify(embeddedObj)) then I can use a node.warn to see an explorable object.
Is there a better way to do this that I am missing if I really want to see the details of that embedded object in the debug pane?