Bug fix: Line 236. 'debugOutput' missing reference to 'pattern'