Skip to content

Commit 4bbc0a0

Browse files
authored
Activate asyncio debug when HA run in debug mode (home-assistant#33251)
1 parent 16670a3 commit 4bbc0a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homeassistant/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def main() -> int:
339339
if args.pid_file:
340340
write_pid(args.pid_file)
341341

342-
exit_code = asyncio.run(setup_and_run_hass(config_dir, args))
342+
exit_code = asyncio.run(setup_and_run_hass(config_dir, args), debug=args.debug)
343343
if exit_code == RESTART_EXIT_CODE and not args.runner:
344344
try_to_restart()
345345

0 commit comments

Comments
 (0)