Is there any way to send a keyboard interrupt event in PyCharm IDE (3.1) while in the debugging mode?
As mentioned in this comment - Why doesn't this python keyboard interrupt work? (in pycharm):
In recent versions of PyCharm, you can enable
Emulate terminal in output console
in your Run Configuration - this allows Ctrl + C in the Run console to send a keyboard interrupt.
Tested with PyCharm 2018.3 (Community Edition):
Also this will break tqdm library: