idea 11 python debugging: not catching breakpoints w/o manual setting?

Does idea 11 catch breakpoints in python?  I'm comparing it with PyCharm, and I notice that the pycharm debug startup AUTOMATICALLY adds a "--noreload" option EVEN THOUGH I do not have that checkbox checked.  When I check the box manually in Idea 11, breakpoints start getting caught.  

Is this is a bug?  for debugging, that '--noreload' option is required?


IDEA STARTUP (without checkbox checked)

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw2.7 "/Users/lhamel/Library/Application Support/IntelliJIdea11/python/helpers/pydev/pydevd.py" --multiproc --client 127.0.0.1 --port 49597 --file manage.py runserver 0.0.0.0:8000
No handlers could be found for logger "pydev"
pydev debugger: process 5315 is connecting
Connected to pydev debugger (build 111.167)
Validating models...



PYCHARM STARTUP (without checkbox checked)

Connected to pydev debugger (build 107.576)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /Applications/PyCharm 1.5.4.app/helpers/pydev/pydevd.py --client 127.0.0.1 --port 65500 --file mmsite/manage.py runserver --noreload 0.0.0.0:8000
pydev debugger: starting
Validating models...
3 comments

When you don't enable the --noreload option, Django runs two processes for your server - one to watch for changed files and another to serve requests. PyCharm 1.5 (which is what you're using) couldn't handle that in the debugger, so it automatically added --noreload to force running Django as a single process. PyCharm 2.0, as well as the plugin for IntelliJ IDEA 11, are (or at least are supposed to be) capable of debugging multiple processes in one debug session, so they don't set --noreload automatically. However, I don't know why debugging doesn't work for you in this mode. It's possible that this was already fixed but not released in an update of the Python plugin yet.

0

That helps me understand the underlying reasoning.

Can someone there try debugging with the python plugin?

0

Please sign in to leave a comment.