Prevent diagnostics at startup from being enabled to avoid crash