On off switch for verbose frontend

I want to clean up my hass frontend by hiding most of the entities. However, when troubleshooting, it would be nice to be able to turn on “verbose frontend” which shows all the hidden entities.

Does anyone know of a simple way to do this?

An input_boolean used to run a script to show / hide the groups by setting group visibility?

https://home-assistant.io/docs/configuration/group_visibility/

Or define a default view but comment it out when you want the full shebang (requires HA restart).