Display errors only when debug key is present