How do you add breakpoints to a Python program in IDLE?

Completing the answer supplied by the OP: after setting the breakpoint – you must turn on IDLE Shell’s debug mode (using debug –> debugger). When you run the program, press “Go” in the debug window that opens up and IDLE will stop at the breakpoint.

IDLE Shell is the window that appears when you hit F5 to run your Python script.

enter image description here

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)