Adapted for new 'debug' reporting type.