How to Start the Debugger
We'll cover the following...
You can start the debugger three different ways. The first is to just import it and insert pdb.set_trace() into your code to start the debugger. You can import the debugger in IDLE and have it run your module. Or you can call the debugger on the command line. We’ll focus on the last two methods in this ...