In short, you cannot. Here are the list of command you can do to the PyCharm debugger Documentation
Send EOF to PyCharm console in Windows
Question
I'm learning PyCharm IDE on Windows. How can I send end-of-file signal to it's debugging console? CTRL+Z does not work.
Solution 2
OTHER TIPS
Per this answer from 2015, you can send EOF in Linux/Windows with ctrl-D and Mac with cmd-D in IntelliJ. I just tested it in PyCharm and it works there as well.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow