REPL - Interactive debugging with ptpython
examples/other/interactive_debugging_with_ptpython.py
from ptpython.repl import embed x = 32 embed(globals(), locals()) y = 42 print('OK')
from ptpython.repl import embed x = 32 embed(globals(), locals()) y = 42 print('OK')