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 run/debug with that file and you can set
breakpoint etc right thru the hole process
我试着照上面的做了一下,怎么还是不行。addr='0.0.0.0'改成本地的127.0.0.1