Nicola, Your pdb idea good but I think the SCGI server should not fork handler processes if -D is specified. Instead, requests should be processed synchro I'm not sure how much surgery of scgi_server.py that would require though. Neil