From f7ee23282f88b367e1af922dccabb7da7d852ca9 Mon Sep 17 00:00:00 2001 From: Preslav Gerchev Date: Sun, 17 Sep 2023 02:09:16 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Dump=20resolved=20policy=20DOT?= =?UTF-8?q?=20file=20if=20TRACE=20env=20var=20is=20set.=20(#724)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Same as https://github.com/mondoohq/cnquery/pull/1742 --- policy/executor/internal/graph.go | 1 + 1 file changed, 1 insertion(+) diff --git a/policy/executor/internal/graph.go b/policy/executor/internal/graph.go index cd70fd25..3f91dbd4 100644 --- a/policy/executor/internal/graph.go +++ b/policy/executor/internal/graph.go @@ -189,6 +189,7 @@ OUTER: func (ge *GraphExecutor) Debug() { if val, ok := os.LookupEnv("DEBUG"); ok && (val == "1" || val == "true") { + } else if val, ok := os.LookupEnv("TRACE"); ok && (val == "1" || val == "true") { } else { return }