Phoenix REST returning stacktrace instead of Internal Server Error

Hi, I was wondering if how I should approach returning the Stacktrace instead of Internal Server Error for cases that hasn’t been tackled.
I know there is a config parameter render_errors, but I want to still pass {:error, <something>} to the Fallback Controller.

I have found Custom Error Pages (Custom Error Pages — Phoenix v1.7.11), however, it seems it tackles a specific exceptions.

Any ideas? Examples?

Thank you!