Search code examples
visual-studio-2010visual-studiovisual-studio-debugging

Stop VS2010 from automatically attaching to browser process


I'm currently working on a web application in Visual Studio 2010. I prefer to debug the Javascript in this application using the development tools in IE, so every time I debug the app I have to manually detach the iexplore.exe process in the Processes window, so I can start debugging in IE.

This is a bit of an inconvenience, so I was wondering if it is possible to stop VS2010 from automatically attaching to the iexplore process when debugging? I have searched the net with no luck.


Solution

  • If it's just JavaScript that you want to debug then you can start your Web application without debugging via Ctrl+F5. This will avoid the "Unable to attach to the process. Another debugger might be attached to the process." error.

    To debug both server-side and client-side code at the same time I normally just use a different browser, as @cheesemacfly wrote.