celery/ctrepan.py
def debug(frame=None):
    """Set breakpoint at current location, or a specified frame"""
    # ???
    if frame is None:
        frame = _frame().f_back

    dbg = RemoteCeleryTrepan()
    dbg.say(BANNER.format(self=dbg))
    # dbg.say(SESSION_STARTED.format(self=dbg))
    trepan.api.debug(dbg_opts=dbg.dbg_opts)
def debug(frame=None):
    # ???
    if frame is None:
        frame = _frame().f_back

    dbg = RemoteCeleryTrepan()
    dbg.say(BANNER.format(self=dbg))
    # dbg.say(SESSION_STARTED.format(self=dbg))
    trepan.api.debug(dbg_opts=dbg.dbg_opts)
def debug ( frame = None ) : # ??? if frame is None : frame = _frame ( ) . f_back dbg = RemoteCeleryTrepan ( ) dbg . say ( BANNER . format ( self = dbg ) ) # dbg.say(SESSION_STARTED.format(self=dbg)) trepan . api . debug ( dbg_opts = dbg . dbg_opts )
Set breakpoint at current location, or a specified frame
Set breakpoint at current location or a specified frame