"Restrict Debug Mode"
This module brings a new feature to restrict users from enabling debug mode unless they belong to the respective access group, you will be able to enhance the security and privacy of your Odoo system.
Using this module you can restrict Developer mode / Debug mode user wise
Restrict debug mode for non-admin users