Getting a stack trace when an error occurs?

I was told to “get a stack trace” when an error occurs in my WordPress installation. How do I do this?

This is meant to be an easy place to refer others to. Please list plugins, configuration settings, PHP modules… that can do this. Consider that the user might be on a shared host, might want to log to a file instead of the browser, …

Related posts

Leave a Reply

1 comment