def setDebug( self, flag=True ):
if flag:<EOL><INDENT>self.setDebugActions( _defaultStartDebugAction, _defaultSuccessDebugAction, _defaultExceptionDebugAction )<EOL><DEDENT>else:<EOL><INDENT>self.debug = False<EOL><DEDENT>return self<EOL>
Enable display of debugging messages while doing pattern matching.
           Set flag to True to enable, False to disable.