I am hoping someone can give me a clue on this. I can debug normal python programs but when I try to use the debugger with my Django app, it starts up and then I get the ImportError. Below is everything I get in the console:
runnerw.exe C:\Python27\python.exe "C:\Program Files\JetBrains\PyCharm 2.5\helpers\pydev\pydevd.py" --multiproc --client 127.0.0.1 --port 1196 --file manage.py runserver 8000
Connected to pydev debugger (build 117.200)
pydev debugger: process 964 is connecting
pydev debugger: process 5496 is connecting
0 errors found
Django version 1.4, using settings 'myapp.site.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
INFO 2012-05-02 11:28:53,043 mybackgroundthread 5496 5416 mybackgroundthread started.
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named pydevd
This was working in PyCharm 2.0.2 with Django 1.3 but I recently upgraded to PyCharm 2.5 and Django 1.4. I am not sure if that is the root cause of the problem. I don't need the debugger often (but when I need it, I need it to work) so I think this is the first time I have tried it since the upgrade. It would be painful to rollback to a prior version of either one right now as I am in a time crunch.