add debug information for automated pattern enabling