A plug-and-play DEBUG Code node for n8n that shows the real, runtime item-reference syntax ($item(X).json.*, etc.) for all your workflow data fields—no more relying on sometimes-misleading “green/red” UI highlights.
- Copy exact reference syntax: Reveals the real
$item(...)field paths you need, as n8n actually resolves them during execution. - Save time: Eliminates trial-and-error when the UI’s “green/red” dot highlights are wrong or ambiguous.
- Fully standalone: No changes needed upstream, just plug in and debug.
- Download
n8n-debug-node.jsonfrom this repo. - Import into your n8n (Workflows > Import > File).
- Open workflow, copy the DEBUG-node, and paste it into any workflow.
- Connect DEBUG-node after any node and Execute—you’ll see all available runtime item paths.
For each incoming item, you get:
{
"DEBUG-INFO-Item-0": {
"json": [
"$item(0).json.name",
"$item(0).json.data.id"
],
"binary": [
"$item(0).binary.file"
],
"miscellaneous-or-other": [
"$item(0).pairedItem"
]
}
}Just copy & paste the paths as needed!
- Quickly copy the correct item syntax for the Expression Editor.
- Debug how Merge, Split, or other advanced nodes shape your data.
- Avoid wasted time and broken workflows due to misleading UI syntax clues.
Does this modify my data?
No, it summarizes paths and passes data through unchanged.
Can I use it anywhere?
Yes—simply paste after any node whose outputs you want to inspect.
MIT
Made by knightsri.
Star or PR welcome if this helped you!