Depending on what your uptime requirements are, one option would be to deploy both the Release and Debug folders side by side and switch between them. Basically you have your bin
folder as per normal and you can have a bin_debug
directory next to it.
During normal production, you just run from bin directory as usual. If you want to track down a bug or an error, rename bin
to bin_release
and bin_debug
to bin
. You will have a performance hit for a few days while you track down the bug, but you will get more detailed error messages. Once you've identified the issue, you can switch back to the release directory.