views:

50

answers:

1

Hi,

I just managed to get debugging my django site 'kind of' working in Eclipse. All my breakpoints get caught just fine, but I have to restart the server every time I make a code change. I think this is because I'm using the --noreload argument when kicking off the server.

Is there any way to setup Eclipse debugging so that I can change code, and continue execution, with my changes being reflected in the django site straight away?

Cheers, Dave

Trindaz on Fedang #django

A: 

http://bear330.wordpress.com/2007/10/30/how-to-debug-django-web-application-with-autoreload/

Author explains how to do so here, basically you have to embed the remote debugger into your manage.py file.

Hope this helps

Mike Scott
Awesome! No time to check this today but it'll be the first thing I check when I get back to Eclipse.--Trindaz on Fedang
Trindaz
Thanks Mike but the solution didn't work for me. I noticed quite a few other commenters on the blog had trouble with it too. --Trindaz on Fedang #django
Trindaz