@rda What I do it in my error traps, I always have it display a message box stating there is an error along with the actual error message. Helps with debugging and lets the user know something happened. I'm not aware of any SE switch to allow addins to run in a debug mode...
Ken Production: SE 2019 MP5, Testing: SE 2020 http://Grundey.blogspot.com
@KennyG, that's exactly what I do when I want to show an error message about an exception to the user, but that's when I already know things could go wrong in that part of the code. I don't want to add try catch statements all over my code.
I've developed add-ins for other applications like Autodesk Inventor and MS Office and they throw default errors by default, and when you want the errors to go away you need to fix your code by a. adding error handling and when necessary custom error messages, or b. prevent the error from happening at all by adding more checks.