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.
Asked
Active
Viewed 2,135 times
2 Answers
3
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.

Misha Akopov
- 12,241
- 27
- 68
- 82

jarhill0
- 1,559
- 1
- 11
- 19
-
1This works on Mac IntelliJ 2021.1 and is the answer that helped me. The way Jetbrains IDEs operate I would imagine it works on them all. – Shazbot May 22 '21 at 20:29
-
No, it doesn't. Windows is a whole different story. Mac and Linux are both Unix systems, CTRL-D actually sends EOF in Unix. You can end your terminal session, finish cat command (e.g. `cat > file.txt`) with that combination. AFAIK, there is no such command in Windows. – user2558588 May 30 '22 at 13:40
2
In short, you cannot. Here are the list of command you can do to the PyCharm debugger Documentation

Edwin Lunando
- 2,726
- 3
- 24
- 33