π± Artha Logic Print
See your Boolean in the console without breaking the flow
- state
Artha Logic Print is the π± Artha pack's debugging convenience: you feed it a Boolean, it prints it to the ComfyUI console, and passes the same Boolean straight through. It's the "add a printf to see what's happening" node of the Logic family - a way to watch a condition's value mid-pipeline without dismantling your graph.
Debugging logic chains is the most underrated pain in ComfyUI. You build a Compare β Gate β Passthru structure, the branch doesn't fire, and you have no idea which stage produced the wrong value. This node is the cheap answer: drop one after each stage and the console tells you exactly where the Boolean goes sideways.
How it works
The node takes a state BOOLEAN input, writes [Artha Logic Print] State = True/False to the console, and returns the same value on its state BOOLEAN output. It's marked as an output node, so it can sit at the end of a branch - but since it also passes the value through, you can insert it inline in the middle of a chain without changing the data flow at all.
The one thing to know
- state - the Boolean to log and pass through.
Output: state (BOOLEAN), identical to the input. Use it inline as a tap, or as a terminal to confirm a final condition.
Installing it
Part of the one-pack Artha install:
cd ComfyUI/custom_nodes
git clone https://github.com/Cyrostar/ComfyUI-Artha-Nodes
pip install -r ComfyUI/custom_nodes/ComfyUI-Artha-Nodes/requirements.txt
restart ComfyUI, or search "ComfyUI-Artha-Nodes" in ComfyUI Manager. No API key, no models, no dependencies beyond the pack's baseline.
Common issues
- "It printed nothing": if the node never executes, no branch fed it a value - check upstream connections. The print only fires when the node actually runs.
- Looking in the wrong place: the output goes to the terminal/console where ComfyUI runs, not to the browser UI. Open the console/ComfyUI logs to see it.
- Expecting it to log non-Booleans: the input is strictly BOOLEAN. For printing strings or numbers, the pack's Math Number node is the better fit.
That's genuinely all it does, and that's fine. It's the digital equivalent of a continuity tester - a two-second check that saves you twenty minutes of guessing. If you've ever stared at a logic chain wondering why a branch never fired, this node pays for itself the first time.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| state | BOOLEAN | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| state | BOOLEAN | β |