Commit [1] migrated the old debug manager to the new OWL one. But is was missing a check, to actually ensure we are in debug mode before showing the icon. Without this fix, the debug icon is always shown, even if not in debug mode. [1]: https://github.com/odoo/odoo/commit/ce5599926af8cf2d69d3abbff0cb212b4af04473 closes odoo/odoo#77292 X-original-commit: dc689838a6514fcbe0c233297123f46b23199ddc Signed-off-by: Romain Derie (rde) <rde@odoo.com>