sha174n opened a new pull request, #40298:
URL: https://github.com/apache/superset/pull/40298

   ## Summary
   
   Removes the `--debugger` flag from the `flask run` command in 
`docker/docker-bootstrap.sh`.
   
   The Werkzeug interactive debugger console (EVALEX) is not needed for 
development workflows in Docker — hot-reloading (`--reload`) provides the 
primary developer benefit. The console is not used in normal development flows 
and adds unnecessary surface area when the server is bound to `0.0.0.0`.
   
   ## Changes
   
   - `docker/docker-bootstrap.sh`: removed `--debugger` from the `app` case 
`flask run` invocation
   
   ## Testing
   
   1. Start dev Docker with `docker compose up`
   2. Verify the app starts and serves the Superset UI normally
   3. Confirm `GET /console` returns 404
   4. Confirm `ps aux | grep flask` shows no `--debugger` flag
   5. Verify hot-reload still works by editing a Python file and observing the 
server restart


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to