π° Display Any - v2 /i
Display Any β the debug node that passes its value through
- any
- any
You're mid-workflow and you have no idea what's actually flowing through a wire. That's the moment Display Any earns its keep. It's a debug/output node: whatever you feed into any, it prints to the UI and then passes the same value out the other side untouched. The "pass through" is what separates it from a plain ShowText-style node - you can drop it inline on a wire and your pipeline keeps working while you inspect.
The ancestor is pysssss's ShowText (the code says so), but this one is any-type and it's an output node, so it shows up on screen and in the run history. The README even calls out its loop use: because it echoes its input, you can park it inside a For Loop body to watch the carried value change each iteration without breaking the loop's wiring.
How it works
It serializes whatever arrives and displays it: strings print as-is, lists and dicts become JSON, tensors get a shape/size summary. The interesting trick is for user-defined objects like a MODEL: rather than printing an unreadable object at 0x..., it calls into the pack's GetModelBlocks helper and shows the model's block names - which is genuinely useful when you're poking at block-weight workflows. A None gets reported as None rather than crashing, which is half the reason debug nodes exist.
Input: any (* - literally anything). Output: any (the identical value, passed through).
Using it
Drop it anywhere you want a peek: after a STRING concatenation to verify the prompt, on a model wire to confirm what loaded, or inside a loop to watch a counter tick. Because it's OUTPUT_NODE = True, it flushes its display to the UI after the run - check the node's own view, not just the console. For batch inputs, remember it shows one representative value rather than all of them, which keeps the display sane.
Installing it
Ships in the MaraScott pack: ComfyUI Manager β search "MaraScott" β Install β restart. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/MaraScott/ComfyUI_MaraScott_Nodes
Then restart. The full pack install is heavy (pinned transformers==4.37.2, opencv-python, numba, blend_modes), so this free debug node rides along with everything else.
Common issues
The pass-through can mislead you: since the node is an output node and sits inline, bypassing it also bypasses the thing it was showing - if you mute it to "clean up", the wire it was on still flows, but you lose the display. Also, for very large dicts or tensors the serialized text can be long; it truncates gracefully but the node's UI can get cluttered. And if you see raw object at 0x... output, you're feeding it something the serializer doesn't recognize - check what type is really on that wire; that information is the point.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| any | * | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| any | * | β |