Apache

Debugging Mod_python scripts with Apache and PDB

I ran into a problem with one of my python scripts the other day and noticed from the Apache logs that it was causing a segfault somewhere. This is the first time I have had to deal with a segfault in a web based application so I looked around for a debugging solution. I found that mod_python has has a flag that will trigger Apache to start a console running PDB.

Syndicate content