def output(self, event, **data):
        "Send a single command packet to the debugger"
        try:
            # print "OUTPUT %s byte message" % len(json.dumps((event, data)) + Debugger.ETX)
            dumped = json.dumps((event, data))
            if not isinstance(dumped, bytes):
                dumped = dumped.encode('utf8')
            self.socket.sendall(dumped + Debugger.ETX)
        except socket.error as e:
            print("CLIENT ERROR", e)
        except __HOLE__ as e:
            print("No client yet", e)

    #################################################################
    # Utilities for retrieving current breakpoints.
    #################################################################
dataset/ETHPy150Open pybee/bugjar/bugjar/connection.py/Debugger.output