Change input validation for debug helper to check for empty strings.