If you are fed up with continually having to press “Attach” to attach to the IIS w3wp.exe to enable debugging in Visual Studio for IIS as seen in this screenshot:
Then never fear, this is a way around it.
All you need to do is adjust the registry setting (via regedit.exe) as Visual Studio wasn’t kind enough to supply as a checkbox for us on the dialog:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Debugger | DisableAttachSecurityWarning = 1
The same setting can be found for Visual Studio 2005 under:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Debugger | DisableAttachSecurityWarning = 1
*** Make sure you make this change after you have closed Visual Studio, or it may not save properly! ***
Hope that has helped ya.
PS. I’ve been swamped will full time work lately, but I have a bunch of drafts I want to inevitably publish on this blog, so stay tuned.

Post a Comment