There's nothing stopping you from using pdb from the command line, well, as long as it's not a full screen application.Don't run from IDLE. That's the only solution I can offer. IDLE uses Tk
and its event loop messes with pygame events.
Do the editing in IDLE and run your program from the command line.
That's a good question. I don't think I've every used the debugger in anyHow do you solve debuging ?
pygame project. Most of the time, I get tracebacks that pinpoint the
problem accurately, and other cases are solved by a couple of print
statements.