Added debugging information. Refs #8878.