Hi,
I was trying to understand how the "Debugging" section and it's corresponding exception settings work. Those can be found on the Setting -> Web & http -> Security page.
Now, I was hoping that those setting will let me handle exceptions in my own way and stop DW from showing the server stack trace and template source code to users. So I checked those three options as shown below, I added my own middleware responsible for dealing with any uncaught exception and I started testing. And... nothing seems to be changing. I recycled app pool after each and every change, I tried different combinations of those settings below but no matter what I do, my middleware never gets called and I can still see the stack trace and template source code shown right to the user.
What exactly this section is doing?