So I am running a Python script within which I am calling Python\'s debugger, PDB by writing:
import ipdb; ipdb.set_trace()
(iPython\'s ver
In python3 ipdb (and pdb) have a command called interact. It can be used to:
Start an interactive interpreter (using the code module) whose global namespace contains all the (global and local) names found in the current scope.
To use it, simply enter interact at the pdb prompt. Among other things, it's useful for applying code spanning multiple lines, and also for avoiding accidental triggering of other pdb commands.