On Thu, Mar 26, 2009 at 05:15:32PM +0100, Filip Gruszczyński wrote: > I don't exactly know, how to achieve this. Our server is run through a > bash script with runfcgi command. Should I put somwhere pdb import and > try to start inside the code?
AFAIK, you should be able to debug your scripts if 1. your server doesn't detach itself from the terminal, and 2. you invoke pdb.set_trace() from your script. I haven't tried this, since I'm using apache in the foreground and PythonEnablePdb, as described at http://www.modpython.org/python10/ . This URL suggests also another method to see variable values directly in the browser. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---