Beauty mode in python pdbpp

jbdi
1 min readAug 21, 2017

--

For first ensure what you have installed package pdbpp (pip install pdbpp).

Pdb it’s beautiful and powerful tool for debugging python code.

But by default when I catch triggered breakpoint its looks very uninformative.

For example, this my breakpoint:

Here’s what it looks like breakpoint in the console:

But here’s what it should looks like:

Just add file .pdbrc.py in your home directory and add into file next lines:

import pdb

class Config(pdb.DefaultConfig):

sticky_by_default = True

--

--