简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM