def setBreak(self,breakFlag = True):
        if breakFlag:
            _parseMethod = self._parse
            def breaker(instring, loc, doActions=True, callPreParse=True):
                import pdb
                pdb.set_trace()
                return _parseMethod( instring, loc, doActions, callPreParse )
            breaker._originalParseMethod = _parseMethod
            self._parse = breaker
        else:
            if hasattr(self._parse,"_originalParseMethod"):
                self._parse = self._parse._originalParseMethod
        return self
Method to invoke the Python pdb debugger when this element is
dataset/ETHPy150Open pypa/pip/pip/_vendor/pyparsing.py/ParserElement.setBreak