Activate asyncio debug when HA run in debug mode (#33251)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-03-25 13:03:56 -07:00
1 parent 16670a38a4
commit 4bbc0a03ca
1 file changed
+1 -1
+1 -1
View File
@@ -339,7 +339,7 @@ def main() -> int:
if args.pid_file:
write_pid(args.pid_file)
exit_code = asyncio.run(setup_and_run_hass(config_dir, args))
exit_code = asyncio.run(setup_and_run_hass(config_dir, args), debug=args.debug)
if exit_code == RESTART_EXIT_CODE and not args.runner:
try_to_restart()