While testing the update of an Entity record, I notice I seem to only get prompted to download a log file during an error, so I wanted to confirm if this is what I should expect?
The expected outcome of my PlugIn is not working as I would expect it when there is no error, so I'm wondering how I can debug the code when no error is thrown - a couple of options that I'm wondering if possible is:
- It seems you can create a console app to test your PlugIn, however I'm not sure how you can do this manually since you need an IServiceProvider?
- Should I forcibly throw a InvalidPluginExecutionException later in my code so I can get the log file to debug?
Thanks!