Debug with ptpython
pip install ptpython
- Then either use it as a REPL to explore code or make your application fall back into this REPL to debug your code.
examples/other/debug_with_ptpython.py
import requests from ptpython.repl import embed res = requests.get("https://code-maven.com/") embed(globals(), locals()) print("done")