Ageis
Ageis

Reputation: 2315

debugging a published site asp.net webforms website

Today our asp.net web site (not web application) errored on our production server. Luckily the latest source code fixed the issue. When we do a release, our senior dev forces us to put in a release mode and turn off debug in the web.config (due to security audits for PCI compliance). Is there a way you debug the website remotely from our office when it's been published in release mode?

Upvotes: 0

Views: 81

Answers (1)

Paritosh
Paritosh

Reputation: 4503

you might be better off using some sort of logging or error handler, like ELMAH. Don't think you can debug a release mode dlls, as it doesn't include the pdb files. Plus debugging a production site would lock the IIS worker process, so if you hit a breakpoint other users hitting the site would just get stuck waiting for you to release the breakpoint.

Upvotes: 1

Related Questions