You should also check the Site Health Manager that allows you to disable debug information in addition to disabling status tests.

https://wordpress.org/plugins/site-health-manager/