Re: Disable autoreload to allow single thread debugging

2006-08-15 Thread mrstone
If you running Eclipse with PyDev you can create a file 'debugServer.py' with the following content: import os os.environ['DJANGO_SETTINGS_MODULE']='mysite.settings' from django.core import management management.runserver(addr='0.0.0.0', port='8080', use_reloader=False) Then set up Eclipse to

Re: Disable autoreload to allow single thread debugging

2006-07-17 Thread gjiro
Hi, Changeset 3348, adds the '--noreload' option for django_admin.py. "Added command line flag to disable use of auto-reloader on development server." Check http://code.djangoproject.com/changeset/3348 gjiro --~--~-~--~~~---~--~~ You received this message beca

Disable autoreload to allow single thread debugging

2006-06-26 Thread magic
To debug using pydev in eclipse the django server needs to run in a single thread. However django/core/management.py autoreloads main to run in another thread or process. django/core/management.py (line 1013) from django.utils import autoreload autoreload.main(inner_run) I believe there