How to run Debug server for Django project in PyCh

2019-01-17 00:09发布

问题:

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

回答1:

Yes you can.

  1. In Run -> Edit Configurations create new configuration
  2. Script: path_to/manage.py
  3. Script parameters: runserver