-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
As a complete non-contributor and visitor to this project, that was just burned by the 6.0 upgrade and as such happened upon this issue, I'd like to say: I think this is a mistake. IMHO a "debug toolbar" should not take it upon itself to write to the DB.
The whole point of a debug tool is to observe what the app is doing -- not to change its behavior in subtle, state-altering ways. Writing to the database just to store debug metadata crosses a line. It can mask real issues (like unexpected writes during GET requests), and it undermines trust in what you're observing.
Even just the idea that the toolbar might require database migrations to function is a red flag. That adds friction to enabling it on demand and makes it harder to drop into a project temporarily. A debugging tool should be lightweight, observational, and ideally disposable -- not something that modifies your schema.
I'm sorry to be so negative, and I won't belabor the point, but at least if others feel the same they'll have a point to come together on.