Get stack trace for IIS 7.5 and C# for every exception
===

I have a C# WCF application running on IIS 7.5.

If an exception is thrown I get the generic request failed page. In order to find the guilty code, I'd like to get a full stack trace including line numbers and file names. How can I do that?

Whether the stack is returned directly or logged internaly on the server doesn't matter, as long I can see what is causing the error.

