Normally with function
nodes, you can do a node-warn("message")
and you see the message
under the node.
Alas that isn't possible with sub-flows
.
Well, it kind of it - I believe.
With the status
button ticked.
But then I seem to be running into problems with multiple occurrences of said sub-flow and the messages.
What I've done to control which sub-flow's message I see is to put a bit of login in the flow so I send a message {payload:'ON',topic:'DEBUG'}
(where it can be ON
or OFF
.
That is a gate (well: gate
) before the output to the status
output.
Here's the problem:
I have (say) 8 of these nodes of the sub-flow. Each has its own debug
input nodes.
I turn on the debug for node 3 and I see node 7's debug information.
Keh?