Implemented over.core.misc.debugger
This commit is contained in:
parent
402a05f86d
commit
1f112c32c5
1 changed files with 11 additions and 0 deletions
11
core/misc.py
11
core/misc.py
|
@ -71,3 +71,14 @@ def console(locals, globals=None, tab_completion=False):
|
||||||
|
|
||||||
c = code.InteractiveConsole(environment)
|
c = code.InteractiveConsole(environment)
|
||||||
c.interact(banner='')
|
c.interact(banner='')
|
||||||
|
|
||||||
|
# --------------------------------------------------
|
||||||
|
|
||||||
|
def debugger():
|
||||||
|
'''
|
||||||
|
Drops into the Python Debugger where called.
|
||||||
|
'''
|
||||||
|
|
||||||
|
import pdb
|
||||||
|
|
||||||
|
pdb.set_trace()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue