Skip to content
Advertisement

How to run Debug server for Django project in PyCharm Community Edition?

Has anyone had issues setting up a debug configuration for Django project in PyCharm Community Edition? Community Edition of the IDE is lacking the project type option on project setup and then when I am setting up Debug or Run config it asks me for a script it should run. What script would it be for Django, manage.py? Thanks in advance

Advertisement

Answer

Yes you can.

  1. In Run -> Edit Configurations create new configuration
  2. [+] / Python
  3. Name: runserver
  4. Scrip Path: path_to/manage.py
  5. Parameters: runserver
Advertisement