-
Notifications
You must be signed in to change notification settings - Fork 2
Description
In start.sh, export FLASK_ENV=development
Security vulnerabilities:
Debug mode exposes sensitive information about your application, including stack traces and environment variables.
It allows arbitrary code execution through the Werkzeug debugger, which can be exploited by attackers.
Performance impact:
Debug mode disables some optimizations, potentially slowing down your application.
It reloads the application on every code change, which is unnecessary and resource-intensive in production.
Stability issues:
The auto-reloader can cause unexpected behavior or crashes in a production environment.
Resource consumption:
Debug mode may consume more memory and CPU resources due to additional logging and the lack of optimizations.
Caching problems:
Some features like template caching might be disabled, affecting performance.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status