𝙆 Display Any
KayTool's drop-anywhere debug window
- input
- STRING
The most-reached-for debug pattern in ComfyUI is "what is actually flowing down this wire right now," and Display Any is built for exactly that. Wire in anything - an image tensor, a string, a number, a list - and it converts it to a string and shows it right there on the node. No separate viewer window, no console digging, just a value printed where you're already looking.
Worth knowing up front: this isn't a KayTool original idea. rgthree-comfy, one of the most widely installed quality-of-life node packs in the ecosystem, ships its own node with the exact same name and job. If you've already got rgthree installed, you'll see two "Display Any" entries in your node search - KayTool's is the one prefixed with the pack's stylized 𝙆 icon in the title (every KayTool node gets that treatment, it's how the pack brands its own nodes in a crowded search menu). Functionally they solve the same problem; there's no real reason to run both, so use whichever pack you already have installed for other things.
How it works
The node accepts a wildcard input type, so ComfyUI won't complain no matter what you connect - image batch, latent, conditioning, plain text. It converts whatever arrives to a string representation and outputs that same string, so you can chain it mid-graph without breaking the flow (the output can feed straight into a save-text node or a log). Because it's marked as an output node, ComfyUI will always execute it and everything feeding into it, even if you never connect its output anywhere - which is the whole point of a debug node like this: drop it on a wire, leave the output dangling, and it'll still show you the value on every run.
The input and output that matter
- input (any type) - whatever you want to inspect.
- STRING (output) - the same value, stringified, in case you want to pipe it somewhere else (a text file, a log, a comparison node).
Installing it
Same as the rest of KayTool: ComfyUI Manager → search KayTool → install → restart, or cd ComfyUI/custom_nodes && git clone https://github.com/kk8bit/KayTool and restart. This node comes bundled with the whole pack, including the parts KayTool is actually best known for - the node-align toolbar and the resource monitor, which is what most people installing this repo are really after.
Common issues
If you dropped this node expecting a rich, formatted preview of an image or a tensor's shape, temper expectations - it's a plain string conversion, so a big tensor will just print as an unhelpfully long string rather than something like a shape summary. For inspecting an image's actual dimensions, Image Size Extractor (also in this pack) is the better tool; use Display Any for scalars, short strings, and quick sanity checks rather than large structured data. And if the node title in your search results doesn't have the 𝙆 prefix, you're looking at a different pack's version - not a bug, just a naming collision between two packs solving the same small problem, which is common enough in this ecosystem that it's worth checking the icon before assuming something installed wrong.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| input | * | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |