eap multi process debugging? Follow
Hi,
in the release notes I read that django debugging with a reloader is now possible with the eap builds... do I have to do anything to enable that ?
the created command line is:
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python /Applications/PyCharm-110.303.app/helpers/pydev/pydevd.py --multiproc --client 127.0.0.1 --port 60252 --file manage.py runserver 8000
Bastian
Please sign in to leave a comment.
Hello Bastian,
This should just work; no additional configuration is necessary.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
It's not working :-(
Breakpoints in view code and templates work fine when I set the "no reloader" option.
With the reloader those breakpoints won't break. The debugger is running, when I set a breakpoint in the settings file it breaks on start.
Hi Bastian,
does it write anything to console?
That's what it says on the console when I request the view with the breakpoint:
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python /Applications/PyCharm-110.303.app/helpers/pydev/pydevd.py --multiproc --client 127.0.0.1 --port 53246 --file manage.py runserver 8000
Connected to pydev debugger (build 110.303)
pydev debugger: process 43670 is connecting
Validating models...
0 errors found
Django version 1.3.1, using settings 'dans.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[09/Nov/2011 21:26:02] "GET /library/ HTTP/1.1" 200 78597
I've create an issue on that: http://youtrack.jetbrains.net/issue/PY-5004
I'm now on a different mac, but with the same project it is working with the newest eap. I can see the second process connecting to the debugger an it is working.
really cool .)
/Users/bastianh/PycharmProjects/env/bin/python /Applications/PyCharm-110.156.app/helpers/pydev/pydevd.py --multiproc --client 127.0.0.1 --port 51467 --file manage.py runserver 8000
pydev debugger: process 3479 is connecting
Connected to pydev debugger (build 110.377)
pydev debugger: process 3480 is connecting