How To Pause Script Execution In Pycharm Community?
I wrote this piece of code and tried to debug it: from time import * for i in range (100): sleep(1) print(i) I first run this script in debug mode, and try to pause it by
Solution 1:
The pause ("Pause Output") button only temporarily suspends output to the terminal - it has no effect on the script execution. You may wish to use debug mode with breakpoints instead.
You can add breakpoints into your program by clicking in the space to the left of the text editor (the "Left Gutter", where line numbers appear, if you have them enabled).
See the Pycharm documentation for more information.
Post a Comment for "How To Pause Script Execution In Pycharm Community?"