Turn off the Attach Security Warning Dialog in Visual Studio

How many clicks has this dialog eaten out of your life?

AttachWarning

The idea for the warning is good because, you know, SECURITY. However, if you’re developing web apps or anything running in IIS, this gets old by the thousandth time you click the Attach button. It’s easy to turn off with an undocumented registry key. Make sure to shut down all instances of VS before changing this key as it will get overwritten on shutdown.

For Visual Studio 2015: HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio14.0Debugger
For Visual Studio 2013: HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio12.0Debugger

In the Debugger key, add a REG_DWORD value of DisableAttachSecurityWarning and set it to 1, and you now have one less click when you attach to a process.

Stay Informed

Sign up for the latest blogs, events, and insights.

We deliver solutions that accelerate the value of Azure.
Ready to experience the full power of Microsoft Azure?

Atmosera is thrilled to announce that we have been named GitHub AI Partner of the Year.

X