简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM