MCPcopy
hub / github.com/celery/celery / debugger

Function debugger

celery/contrib/rdb.py:175–180  ·  view source on GitHub ↗

Return the current debugger instance, or create if none.

()

Source from the content-addressed store, hash-verified

173
174
175def debugger():
176 """Return the current debugger instance, or create if none."""
177 rdb = _current[0]
178 if rdb is None or not rdb.active:
179 rdb = _current[0] = Rdb()
180 return rdb
181
182
183def set_trace(frame=None):

Callers 2

test_debuggerMethod · 0.90
set_traceFunction · 0.85

Calls 1

RdbClass · 0.85

Tested by 1

test_debuggerMethod · 0.72