On the page, by code, call the command "OnLoad Page
Debug.Fail();
or
Debug.Assert(false);
, then open this page and wait for a message from Debuger and join visual studio. If this does not appear, then you are in release mode and you need to change your web.config
If you have some error with your www service, restart the iis-admin service, not just www. With iisAdmin, www reloads, but several times the debugger does not attach only with a restart of www.
Hope this helps you.
source
share