1

I running apache with mod_fastcgi to run python scripts (using Ubuntu OS).

How can I debug python with fastcgi? I put a pdb.set_trace() call in my script, but when loading the page in a browser nothing happens in the console from which I ran the apache start command (/etc/init.d/apache2 start). Where should the python debugger run??

Dan

1 Answer 1

0

You have to attach pdb to a running instance of your FCGI script, read this for a How To.

This information is also stated in the FCGI FAQ.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.