The debug node
The debug node writes messages and data to the debug log. Use it to follow messages through the flow, inspect their contents, and troubleshoot problems.
debug node settings
The node has the following settings:

1. Name
The node name.
It appears in the workspace and helps you identify the node.
If you leave it empty, the node is named debug.
Example:
- Node name:
debug order
2. Output
The field whose data the node outputs.
Example:
msg.orderEventoutputs only the contents of theorderEventproperty.
Usage example
Example 1: Output the contents of msg.payload
A function node passes the string "Hello, World!" in msg.payload, and the debug node outputs this message to the debug panel.
debug node settings:
- Output:
msg.payload
Result in the debug panel:
Hello, World!
Example 2: Output custom properties
A function node adds the msg.temperature and msg.humidity properties. The debug node outputs only the temperature value.
Function:
msg.temperature = 25;
msg.humidity = 60;
return msg;
debug node settings:
- Output:
msg.temperature
Result in the debug panel:
25