Jan 19, 2010

Debugging with PyDev

This is surprisingly elusive, so here it is. After creating a debug/run target with Run/Debug as... -> Python run, add this variable in the Environment tab:

PYTHONPATH     $PWD

If you're debugging Django, add another:

DJANGO_SETTINGS_MODULE settings

You will also want to add --noreload to your runserver argument.