Developing Plugins: Show Full Error Stack Trace

How do I enable Matomo to show the full error stack trace while developing instead of “Oops… there was a problem during the request. …”