Nodes/ComfyUI_Lam/通用打印输出(非输出节点)
ComfyUI Node

通用打印输出(非输出节点)

Print mid-graph without claiming the workflow is done

By yanlang0123·Created 2 years ago·Updated 11 days ago· 77
通用打印输出(非输出节点)
  • obj
  • obj

LamCommonPrintNoOutput (通用打印输出(非输出节点)) is the slightly-less-famous twin of LamCommonPrint: same generic print-and-pass-through behavior, one critical difference - it is not an output node. That single flag is the whole reason this node exists, and it's the one you want when you need to inspect a value in the middle of a pipeline without tricking ComfyUI into thinking the job is finished.

For a quick recap of the problem it solves: ComfyUI marks certain nodes as "output nodes," and the graph is considered complete when it reaches them. LamCommonPrint is one of those - great at the end of a workflow, actively misleading in the middle. Slap it between two important steps and ComfyUI can report the whole thing done while half your pipeline is still to run. This variant dodges that by simply not carrying the flag.

How it works

Identical mechanism to its twin: it prints whatever obj you feed it to the ComfyUI console, then returns the same value unchanged on its output. The input is typed *, so it accepts images, strings, numbers, lists, masks - anything. The output is the exact same object, so you can chain the next node straight off it.

The inputs and outputs

  • obj (*) - the value to log.
  • Output obj (*) - the same value, passed through untouched for the next node.

That's the whole interface. If you're choosing between the two print nodes: end-of-workflow → LamCommonPrint; anywhere else → this one. There's no functional reason to prefer the output variant mid-graph, and there's a real (if subtle) reason to avoid it.

Install

Pack install, nothing extra:

cd ComfyUI/custom_nodes
git clone https://github.com/yanlang0123/ComfyUI_Lam

and restart.

Common issues

  • Nothing shows in the UI - prints go to the terminal that launched ComfyUI, not a UI panel. Look at the console.
  • You were expecting the workflow to end here - it won't, by design. Put LamCommonPrint at the end if you want completion.
  • Can't tell the two print nodes apart in the menu - the display names differ only by the "(非输出节点)" suffix in Chinese; the English slugs are LamCommonPrint (output) and LamCommonPrintNoOutput (non-output). Read the suffix.

It's a one-flag difference that changes where you're allowed to drop the node. For mid-pipeline debugging, this is the correct pick, and it does the print-and-pass job without side effects on your graph's lifecycle.

Categorylam

Inputs (1)

NameTypeDefaultDescription
obj*

Outputs (1)

NameTypeDescription
obj*