Display a warning banner when DEBUG is enabled #7488

Closed
opened 2025-12-29 20:24:01 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 10, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.4.2

Feature type

New functionality

Proposed functionality

Display a small warning banner at the top of every page when DEBUG is enabled and the DEVELOPER setting is disabled.

Use case

While debugging is sometimes necessary to troubleshoot an issue, leaving it enabled in production can be dangerous and drastically impact application performance. Adding this warning will call attention to the need to disable debugging mode.

Database changes

No response

External dependencies

No response

Originally created by @jeremystretch on GitHub (Jan 10, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.4.2 ### Feature type New functionality ### Proposed functionality Display a small warning banner at the top of every page when `DEBUG` is enabled and the `DEVELOPER` setting is disabled. ### Use case While debugging is sometimes necessary to troubleshoot an issue, leaving it enabled in production can be dangerous and drastically impact application performance. Adding this warning will call attention to the need to disable debugging mode. ### Database changes _No response_ ### External dependencies _No response_
adam added the status: acceptedtype: feature labels 2025-12-29 20:24:01 +01:00
adam closed this issue 2025-12-29 20:24:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7488