Skip to content

Commit

Permalink
Fixed bug that prevented env DASH_DEBUG to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Grawe committed May 12, 2022
1 parent e774908 commit b84fad8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dash/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,7 @@ def enable_dev_tools(
:return: debug
"""
if debug is None:
debug = get_combined_config("debug", None, True)
debug = get_combined_config("debug", None, False)

dev_tools = self._setup_dev_tools(
debug=debug,
Expand Down Expand Up @@ -1896,7 +1896,7 @@ def run(
host=os.getenv("HOST", "127.0.0.1"),
port=os.getenv("PORT", "8050"),
proxy=os.getenv("DASH_PROXY", None),
debug=False,
debug=None,
dev_tools_ui=None,
dev_tools_props_check=None,
dev_tools_serve_dev_bundles=None,
Expand Down

0 comments on commit b84fad8

Please # to comment.