aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-17 16:50:05 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-17 16:50:05 +0800
commit98cc9c3ebba43fe4f2b8090b8c169b232255d3ce (patch)
treee21f6cc65f9cc188e89654c9d8cf85a0794deee9
parent580dccba8d997a229e8c02e0fbbc75771a5aa372 (diff)
downloadfg21sim-98cc9c3ebba43fe4f2b8090b8c169b232255d3ce.tar.bz2
bin/fg21sim: Add one debug before logging available
-rwxr-xr-xbin/fg21sim3
1 files changed, 3 insertions, 0 deletions
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: