I am trying to set up Pycharm3.0 to be able to debug the django project.. I cannot get it to work. Any help is greatly appreciated..! :-)
I checked the django support is there:
I then configured the Run/debug configuration settings as following:
. sitee is the project folder.
When I hit the debug button, I got error:
/usr/bin/python2.7 manage.py runserver /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 runserver [options] [optional port number, or ipaddr:port]
Starts a lightweight Web server for development and also serves static files.
manage.py: error: no such option: --multiproc
Process finished with exit code 2
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python /Applications/PyCharm.app/helpers/pydev/pydevd.py --multiproc --client 127.0.0.1 --port 58654 --file /Users/<username>/PycharmProjects/<project_name>/manage.py runserver 8000
– Rob Linterpreter options
andworking directory
blank. You may need to add yoursettings.py
toenvironment variables
, but PyCharm usually sets all that stuff automatically. – Rob Lmanage.py runserver 8000
command is being called first, rather than last. Perhaps you could try entering it in the PyCharm terminal? Not a fix, but it may give some clues. – Rob L