View Anything
The debugging node that prints whatever you throw at it
- any
- str
Every ComfyUI power user keeps a "show me this" node around, and View Anything is Sage Utils' version. It takes any input - truly any type, the schema literally accepts a wildcard - and renders it as text in the UI. Wire up a string, a number, a conditioning, a model info tuple, whatever; it stringifies it and shows you. It's the first thing I'd add to any workflow I'm debugging and the node you'll reach for when something is silently wrong.
The mechanism is refreshingly simple. The single any input accepts anything ComfyUI can hand it. If it's a list, the node joins the elements one per line; anything else gets str()'d. The result appears in the UI as a preview widget, and - the part people miss - it's also passed through as a str output, so you can keep the text flowing into your graph after inspecting it. That pass-through is what separates it from a pure debug widget: you can tap into a data stream, eyeball it, and let it continue on its way.
This is the node to use when a node's output type looks right but the value is suspicious. Feeding conditioning into View Anything and seeing an empty or malformed representation beats guessing. Seeing your metadata string assembled correctly before it hits the save node beats re-saving and re-inspecting files. And because it accepts anything, it's a great first probe when you don't even know what type a mystery output is - View Anything will happily tell you.
A couple of honest caveats. It stringifies, so you're seeing a textual representation, not the underlying structure - a MODEL_INFO tuple displays as text, which is usually exactly what you want for a sanity check, but don't expect rich object inspection. And it's marked as an output node, so it can sit at the end of a branch without breaking execution; if you attach it in the middle of a pipeline that's fine too, it just also passes the string onward.
There's a sibling node, View Notes, that reads files from a notes directory - different job, don't mix them up. If you want to save the text you've inspected, the pack's Save Text node handles that.
Install is the pack standard - ComfyUI Manager (search "Sage Utils") or:
cd ComfyUI/custom_nodes
git clone https://github.com/arcum42/ComfyUI_SageUtils.git
then restart. Zero dependencies beyond the pack itself; no models, no setup. It's the kind of node that repays its install weight the first time a workflow misbehaves.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| any | * | Any value to view as text. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| str | STRING | Output value for str. |