For who is having this issue in PyCharm version 2025:
To disable the python.debug.asyncio.repl
setting in PyCharm 2025, follow these steps:
python.debug.asyncio.repl
:Open PyCharm.
Go to the Help menu.
Click on Find Action… (or press Ctrl+Shift+A
on Windows/Linux or Cmd+Shift+A
on macOS).
In the popup, type:
nginx
CopiarEditar
Registry
Select Registry… from the results and press Enter.
In the Registry dialog, find:
lua
CopiarEditar
python.debug.asyncio.repl
Uncheck (disable) the checkbox next to it.
This setting affects whether PyCharm enables an asyncio-enabled REPL (Read-Eval-Print Loop) when debugging Python code. Disabling it can help if you're experiencing issues with debugging asynchronous code or want to revert to standard REPL behavior.