run python in debug mode code example
Example 1: python debugger
#preinstalled package
import pdb; pdb.set_trace()
Example 2: pdb remove breakpoint
cl(ear) [[filename:]lineno|function]
Clear breakpoint at specified line or function.
#preinstalled package
import pdb; pdb.set_trace()
cl(ear) [[filename:]lineno|function]
Clear breakpoint at specified line or function.