How to run Debug server for Django project in PyCharm Community Edition?
Question:
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
Answers:
Yes you can.
- In Run -> Edit Configurations create new configuration
- [+] / Python
- Name: runserver
- Scrip Path: path_to/manage.py
- Parameters: runserver
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
Yes you can.
- In Run -> Edit Configurations create new configuration
- [+] / Python
- Name: runserver
- Scrip Path: path_to/manage.py
- Parameters: runserver