code: def setDebugActions( self, startAction, successAction, exceptionAction ):
          
          self.debugActions = (startAction or _defaultStartDebugAction,
                               successAction or _defaultSuccessDebugAction,
                               exceptionAction or _defaultExceptionDebugAction)
          self.debug = True
          return self
docs: Enable display of debugging messages while doing pattern matching.