diff --git a/homeassistant/__main__.py b/homeassistant/__main__.py index d1d59482e6d..a6d4e0c7bc9 100644 --- a/homeassistant/__main__.py +++ b/homeassistant/__main__.py @@ -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()