How to configure pycharm to debug django

I am trying to configure Pycharm3.0 to be able to debug a django project. I can not make it work. Any help is much appreciated ..! :-)

I checked django support: enter image description here

Then I set up the start / debug configuration options as follows:

enter image description here

. sitee is the project folder.

When I clicked the debug button, I got an error:

/usr/bin/python2.7 manage.py runningerver / home / tee / Downloads / pycharm -3.0.2 / helpers / pydev / pydevd.py --multiproc --client 127.0.0.1 --port 40239 - file / home / tee / PycharmProjects / sitee / account / views.py Usage: manage.py runerver [options] [additional port number or ipaddr: port]

Launches a lightweight web server for development as well as static files.

manage.py: error: no such option: --multiproc

Process terminated with exit code 2

+4
2

, , "/" Python, " Django". , Run/Debug , PyCharm. " Django"?

, . - , .

+1

PyCharm 2019. . run.py, manage.py, .

Run / Debug Config

0

Source: https://habr.com/ru/post/1523538/


All Articles