How can I remotely debug a Django application?



I created a Django application, it works fine on my machine.
After that I tested it on a test server, but something is not working.
How to debug it?
Can this be done using the PyDev Eclipse plugin, or maybe there are other ways?
At best, I would like to use "step into", "step over", "step out", but if this is not possible, simple logging is also OK.

UPDATE:
On my machine, it works with ./manage.py runserver, but on a test machine, it works with Apache + mod_wsgi

+3
source share
3 answers

This is a HOWTO for debugging an application deployed via mod_wsgi:

http://code.google.com/p/modwsgi/wiki/DebuggingTechniques

root- ? . Apache .

+3

, https://github.com/django-extensions/django-extensions - , django. -./manage.py runningerver_plus, ( ) , - . .

, wsgi, .

0

- DEBUG = True , . , , - , sentry (), , Django, .

Both solutions will not give you debugging debugging, unfortunately.

0
source

All Articles