mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Activate asyncio debug when HA run in debug mode (#33251)
This commit is contained in:
parent
16670a38a4
commit
4bbc0a03ca
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user