launch pdb from python code example
Example 1: python debugger
#preinstalled package
import pdb; pdb.set_trace()
Example 2: debugging python
import ipdb; ipdb.set_trace()
#preinstalled package
import pdb; pdb.set_trace()
import ipdb; ipdb.set_trace()