This repository was archived by the owner on Jun 19, 2025. It is now read-only.
-
Couldn't load subscription status.
- Fork 18
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
debug = True #12
Open
@finnp
Description
Hi!
There is no mention and usage of "debug = True" in the course. However it is quite helpful since otherwise you don't see an error if you did something wrong and the server is not restarting automatically.
I guess I would just add it here: http://opentechschool.github.io/python-flask/core/hello-world.html and explain it shortly with the hint that it should never be on in production.
Another possibility would be adding an own section "debugging". However I think this should be at the beginning though, so it can help people in later sections.
Best,
Finn
Metadata
Metadata
Assignees
Labels
No labels