Breakpoints ok in django app, but missed in manage.py custom command

Hi,

I'm able to breakpoint and debug well enough when running my django apps.  Output of console below:

/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python /Applications/PyCharm.app/helpers/pydev/pydevd.py --multiproc --client 127.0.0.1 --port 57681 --file manage.py runserver 8000

PyDev console: using IPython 0.13.dev

Connected to pydev debugger (build 117.376)

pydev debugger: process 4193 is connecting

PyDev console: using IPython 0.13.dev

pydev debugger: process 4197 is connecting

Validating models...

0 errors found

Django version 1.4, using settings 'TWSSSurvey.settings'

Development server is running at http://127.0.0.1:8000/

Quit the server with CONTROL-C.

However, when I try to run a custom command ("testpopulate.py"), it runs, too, but breakpoints are missed.  Can someone help me figure out why that is so, and what I should do to fix this? Console output is:

bash -cl "/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python /Applications/PyCharm.app/helpers/pycharm/django_manage.py testpopulate /Users/rolanvc/Dropbox/Documents/TWSS/TWSSSurvey"

Thank you very much!

=)

Please sign in to leave a comment.