diff options
| author | Aaron LI <aaronly.me@outlook.com> | 2016-10-17 16:50:05 +0800 | 
|---|---|---|
| committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-17 16:50:05 +0800 | 
| commit | 98cc9c3ebba43fe4f2b8090b8c169b232255d3ce (patch) | |
| tree | e21f6cc65f9cc188e89654c9d8cf85a0794deee9 | |
| parent | 580dccba8d997a229e8c02e0fbbc75771a5aa372 (diff) | |
| download | fg21sim-98cc9c3ebba43fe4f2b8090b8c169b232255d3ce.tar.bz2 | |
bin/fg21sim: Add one debug before logging available
| -rwxr-xr-x | bin/fg21sim | 3 | 
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: | 
