From 98cc9c3ebba43fe4f2b8090b8c169b232255d3ce Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 17 Oct 2016 16:50:05 +0800 Subject: bin/fg21sim: Add one debug before logging available --- bin/fg21sim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/fg21sim') diff --git a/bin/fg21sim b/bin/fg21sim index 1143baa..0effbc7 100755 --- a/bin/fg21sim +++ b/bin/fg21sim @@ -37,6 +37,9 @@ def main(): args = parser.parse_args() configs.read_userconfig(args.config) + if os.environ.get("DEBUG_FG21SIM"): + print("DEBUG: Current configurations:", configs._config, + sep="\n", file=sys.stderr) validate_configs(configs) if args.quiet: -- cgit v1.2.2