From 9eaa2006e429f741abe817dca1574bf3ebd1ef8f Mon Sep 17 00:00:00 2001 From: Inoland Date: Tue, 11 Nov 2025 09:52:37 +0400 Subject: [PATCH] debug print log --- src/comfyui_ino_nodes/node_helper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/comfyui_ino_nodes/node_helper.py b/src/comfyui_ino_nodes/node_helper.py index 5309eca..b17e214 100644 --- a/src/comfyui_ino_nodes/node_helper.py +++ b/src/comfyui_ino_nodes/node_helper.py @@ -6,8 +6,9 @@ class AnyType(str): any_type = AnyType("*") import os -_is_debug = os.getenv('COMFYUI_INO_DEBUG', 0) == 1 +_is_debug = os.getenv('COMFYUI_INO_DEBUG') == "1" IS_DEBUG = _is_debug +print(f"COMFYUI_INO_DEBUG: {_is_debug}") def ino_print_log(prefix:str = "", msg:str="unknown", e = None): if IS_DEBUG: