Print
Add To Favorites
Email To Friend
Rate This Article
|
Don’t run production ASP.NET Applications with debug="true" enabled
|
by Scott Guthrie
Feedback
|
Average Rating:  
Views (Total / Last 10 Days):
42901/
46
|
|
|
Resources |
|
|
|
User Comments
Title:
eCommerce Developer
Name:
maitreg
Date:
2009-07-23 9:12:20 AM
Comment:
Hmm, ok, our PCI Compliance officer is also telling us we have to disable ASP.NET debug mode on our product server, but then we won't have any reasonable method for actually debugging our live site!! Right now, I've set it up to trap all errors and email me the file name and line # when an error occurs. But with debug mode off, the file name and line # or unavailable!? So now when an error occurs, I only know that "some" error occurred "somewhere". On a complex ASP.NET Web app with 20,000 lines of code (at least half of which may be executed on any given request), debugging is virtually impossible without the debug mode.
And before you ask, anybody who's ever deployed an ASP.NET Web app will tell you that there are 1000s of errors that could occur in a live enironment that did not occur in the development environment.
Isn't there ANY way to safely leave debug mode on? Or is there some way to debug live apps with the debug mode off that I'm unaware of?
|
|
Product Spotlight
|
|