If the compilation debug flag is set to true for an ASP.NET application, the following performance effects will be seen:
Page compilation is slow
Code execution is slow
Memory use is high
.axd resources are not cached
No testing is necessary, beyond ensuring that the debug flag is not set outside the production environment.
Checking the debug status should be added to the promotion/publish procedures.
Checking debug status in ASP.NET