I cannot use enter key in the console in PyCharm 2021.1.3 debug mode

When I am debugging, I like to drag the console window out of the PyCharm main program to form a separate window, but recently discovered a problem, I can not use the enter key in the debug mode console, when I finish typing the python statement and press enter, similar For the effect of shift + return, a line is added, so that the statement cannot be executed.

If I do not drag the console window out to form a separate window, the enter key is used normally. What is the reason for this?

I reinstalled PyCharm 2021.1.3 (Community Edition)and it didn't work.

I reinstalled PyCharm 2020.3.5 (Community Edition), and the Enter key is normal.

My PyCharm version:

PyCharm 2021.1.3 (Community Edition)
Build #PC-211.7628.24, built on June 30, 2021
Runtime version: 11.0.11+9-b1341.60 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 40
Registry: debugger.watches.in.variables=false

operating system:

Microsoft Windows 10.0.19042.1110 Professional Edition
1 comment
Comment actions Permalink

Hi, this is a known issue https://youtrack.jetbrains.com/issue/PY-49527

It will be fixed in 2021.1.2, meanwhile as a workaround please use "Window" mode instead of "Floating".


Please sign in to leave a comment.