python pause on exception in python Pause on exception allow you to inspect variables and stack, quite useful. The default behavior in python is to sys.exit when an exception propagate up the stack. To pause on exception, save this file as debug.py import sys def info(type, value,
python python httplib for http debugging In http debugging, it's useful to send a http request as exactly as you want, to pinpoint certain problem. I encountered these problems in a recent debugging session. * how can I send a http 1.0 request? * how to send a specific header? * how