PyCharm with Django cannot connect to debugger

With different Django projects in Pycharm, I get this error when I try to run the debugger:

D:\prog\python\toolStorage\venv\Scripts\python.exe -X pycache_prefix=C:\Users\Admin\AppData\Local\JetBrains\PyCharm2023.2\cpython-cache C:/PyCharm/plugins/python/helpers/pydev/ --multiprocess --qt-support=auto --client --port 28102 --file D:\prog\python\toolStorage\ runserver 8011 
Connected to pydev debugger (build 232.10300.41)
Unknown command: 'C:\\PyCharm\\plugins\\python\\helpers\\pydev\\'
Type ' help' for usage.

Process finished with exit code 1

  • The normal “Run project” works fine, but the debugger does't start.
  • I found this file and it exists.
  • The debugger works fine in regular python scripts like Hello world.
  • Manually running this command in the console results in an error ConnectionRefusedError: [WinError 10061] Connection was not established because the destination computer rejected the connection request.

Windows 10 x64, PyCharm Professional 2023.2.1

Could you please try PyCharm 2024.1 (, and if the issue persists, submit a bug report to with logs from **Help | Collect Logs and Diagnostic Data**?

Andrey, thanks for your response. Upgrading to version 2024.1 resolved this issue.


Please sign in to leave a comment.