Nodes/ComfyUI_ezXY/Line to Console
ComfyUI Node

Line to Console

Print any ComfyUI value straight to your terminal

By GMapeSplat·Created 3 years ago·Updated 2 years ago· 25
Line to Console
  • to_console
    table_depth3

    Line to Console is the pack's debug node, and honestly one of the more generally useful things in it - plug anything into it and it dumps the value to your terminal, no wiring gymnastics, no needing to know the type in advance. If you've ever wanted to check what's actually flowing through a wire mid-graph without tearing the workflow apart, this is that.

    How it works

    Connect to_console to whatever you want to inspect - a string, a number, a list, anything, the input type is a wildcard. Run the workflow and the value prints to your ComfyUI terminal output at that point in execution. table_depth controls how deep it recurses when the value is a nested structure (a dict, a list of lists) before it stops expanding - turn it up if you need to see further into something complex, or leave the default if you're just checking a plain value.

    Inside an ezXY workflow, this is the node you temporarily wire into range, size, or wraps outputs while you're building a grid, to confirm your row/column count actually matches your value lists before you commit to a big run. It's disposable by design - wire it in, check the terminal, unwire it, move on.

    Inputs and outputs

    • to_console (optional, any type) - what you want printed. Leave unconnected and it does nothing.
    • table_depth (optional, INT, default 3, 1–10) - how deep to recurse into nested structures before truncating.
    • No outputs - this is a debug/output node, it doesn't pass anything downstream. You'll need to tap the wire (or duplicate it) if you want to keep using the value elsewhere.

    Installing ComfyUI_ezXY

    ComfyUI Manager: search "ComfyUI_ezXY", install, restart. Manual:

    cd ComfyUI/custom_nodes
    git clone https://github.com/GMapeSplat/ComfyUI_ezXY.git
    

    No models, no heavy dependencies.

    Common issues & troubleshooting

    Because this node has no outputs, the common beginner mistake is trying to chain something after it - it's a dead end by design, so if you need the value both printed and used downstream, wire the source to both this node and the next one, not through this node.

    The general pack caveat applies, though this node is about as low-risk as any of them: the README states plainly it "does not work with current version of Comfyui," and there's a real 2025 GitHub issue of a user asking to fork a node out because the repo had broken. Line to Console's job is simple enough (print whatever it's handed) that it's unlikely to be the actual point of failure - if your console output looks wrong, it's almost always something upstream producing the wrong value, and this node is just honestly reporting it.

    CategoryezXY/debug

    Inputs (2)

    NameTypeDefaultDescription
    to_consoleopt*
    table_depthoptINT31–10

    Outputs (0)

    No outputs