Much depends on your individual needs. In general, people are unhappy that debugging is done for performance reasons. The emitted debugging code is apparently not optimized and contains debugging symbols that can slow down code execution.
On the other hand, I worked with places where the policy was to create debug builds in production, because it makes it easier to view line numbers, etc., when the code throws exceptions. I do not say that I agree with this position, but I saw how people do it.
Scott Hanselman has a good position to create a hybrid version of Debug and Release, which could be the best of both worlds
here .
source share