ptpdb (Still experimental) PDB replacement, build on top of prompt_toolkit and ptpython. Installation pip install ptpdb Usage from ptpdb import set_trace set_trace() See the official PDB documentation to learn how it works.