diff --git a/docker/.env b/docker/.env index def1be0d25d..210bbbd1c83 100644 --- a/docker/.env +++ b/docker/.env @@ -63,8 +63,8 @@ REDIS_HOST=redis REDIS_PORT=6379 # Development and logging configuration -# FLASK_DEBUG: Enables Flask dev features (auto-reload, better error pages) - keep 'true' for development -FLASK_DEBUG=true +# SUPERSET_DEBUG_ENABLED: Enables Flask dev features (auto-reload, better error pages, Werkzeug debugger) - keep 'true' for development +SUPERSET_DEBUG_ENABLED=true # SUPERSET_LOG_LEVEL: Controls Superset application logging verbosity (debug, info, warning, error, critical) SUPERSET_LOG_LEVEL=info diff --git a/docs/developer_docs/contributing/development-setup.md b/docs/developer_docs/contributing/development-setup.md index c0ac0d165bb..a008b9b365e 100644 --- a/docs/developer_docs/contributing/development-setup.md +++ b/docs/developer_docs/contributing/development-setup.md @@ -102,8 +102,8 @@ Affecting the Docker build process: save some precious time on startup by `SUPERSET_LOAD_EXAMPLES=no docker compose up` - **SUPERSET_LOG_LEVEL (default=info)**: Can be set to debug, info, warning, error, critical for more verbose logging -- **SUPERSET_DEBUG_ENABLED (default=false)**: Enable Werkzeug debugger with interactive console. - Set to `true` for debugging: `SUPERSET_DEBUG_ENABLED=true docker compose up` +- **SUPERSET_DEBUG_ENABLED (default=true)**: Enable Werkzeug debugger with interactive console. + Set to `false` for simulate production environment: `SUPERSET_DEBUG_ENABLED=true docker compose up` For more env vars that affect your configuration, see this [superset_config.py](https://github.com/apache/superset/blob/master/docker/pythonpath_dev/superset_config.py)