Simplifying the debug check.