def set_trace(host='localhost', port=6000, authkey='secret password'):
    global qdb, listener, conn

    from multiprocessing.connection import Listener
    # only create it if not currently instantiated
    if not qdb:
        address = (host, port)     # family is deduced to be 'AF_INET'
        listener = Listener(address, authkey=authkey)
        conn = listener.accept()

        # create the backend
        qdb = Qdb(conn)
    # start debugger backend:
    qdb.set_trace()
Update job_id for the given filename.
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/qdb.py/set_trace--crossover with--dataset/ETHPy150Open tsileo/bakthat/bakthat/models.py/Jobs.update_job_id