How to debug FastCGI application? I have an application that is dying, but I cannot understand why, although it probably throws the stack trace to stderr. Running from the command line results in an error:
RuntimeError: No FastCGI Environment: 88 - Socket operation on non-socket
How to set up a "FastCGI environment" for debugging purposes? This is not my application - this is a third-party open source application, so I would rather not add to the heap of the log to find out what is going wrong.
If it matters, the Python application, but FastCGI is FastCGI, right? Is there a pad or something that allows you to call the fastcgi program from the command line and connect it to the terminal so you can see its stdout / stderr?
source
share