-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fixed bug that prevented env DASH_DEBUG to work #2047
Conversation
Thanks @PGrawe! There's a little more going on though - I suspect this PR breaks the documented behavior of Lines 1653 to 1657 in b84fad8
So maybe we need two calls to Now, how can we test this behavior? Testing with pytest.raises(AssertionError):
app.run(debug=debug, port=-1)
assert app._dev_tools.ui == expected_debug |
Hey Alex, EDIT: Still got some linting error. I'll fix that tomorrow!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃 Excellent! Can you add a changelog entry? Then we'll merge 🎉
Amazing! 💯 Just updated the changelog. Thanks for all your help 😃 |
Hey,
setting the debug value with the environment variable
DASH_DEBUG=true
, didn't work.The default, if no debug value is given, is still false. Everything else works as intended.
This also fixes #1979 .
Contributor Checklist
app.run
toNone
False
inenable_dev_tools