Only check during debug