简体   繁体   中英

ASP.NET Debug server without debugging IE

I have an ASP.NET application in visual studio 2010, and whenever I start debugging, it attaches the debugger to IE as well as the server, which just creates loads more bloat and makes everything run slowly.

How can I start debugging on the server only?

Andy

Once the application is deployed to IIS, you can use Visual Studio on the server to attach to the web process . Also, see how to debug deployed web applications .

There is no way to start debugging of an ASP.NET site in Visual Studio without it launching a browser. So set the default browser to a different browser that you want to use so you don't waste spawning an IE instance. From Setting a Default Browser for Visual Studio :

  1. Open a WebForm file in VS (anything ending in.aspx will do)
  2. Select the "Browse With..." option from the File menu
  3. Select your preferred browser from the list and click the "Set as Default" button

One way is to browse with option by clicking the browse with option and the other way is to set the default browser as any other browser than IE

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