Bug fix: 'debugOutput' missing reference to 'pattern'