We often debug against w3wp.exe (the IIS worker process) when building web apps. Visual studio 2010 adds an annoying quirk though, a warning states: "Attaching to this process can potentially harm your computer. If the information below looks suspicious or your are unsure, do not attach to this process."
This pops up every time. How annoying!
A quick google finds the answer - a quick registry edit and all is well.
Set the value DisableAttachSecurityWarning to 1 under the registry key HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger.
Thanks to
thethoughtfulcoder.com for providing this answer!