Howdy,

When I try to debug my django app (on RHEL5) I am using
/usr/sbin/apachectl -X

and put the code:
import ipdb; ipdb.set_trace()

in some place in the python code. The output redirects to the terminal and 
it all works great until I try to exit. I should be able to stop the httpd 
process just by typing CTRL-C or CTRL-D or something but none of that 
works. The only thing that seems to work is the series of commands
CTRL-Z
/etc/init.d/httpd stop
fg 1

This is really inelegant and awful. Is there a correct way to do this.

thanks,
Danny

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/modwsgi/-/T3qv87SZKHIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to