Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging w/ Attach to Process Starts ASP.NET Dev Server

I'm developing an ASP.NET site off of my Windows XP IIS Installation, and whenever I tell visual studio to attach-to-process to the aspnet_wp.exe it starts a new instance of asp.net development server. Is there a way to make it not start asp.net development server since I don't need it to launch anything?

like image 358
Ken Sykora Avatar asked Jan 08 '09 16:01

Ken Sykora


People also ask

How do I Debug IIS server?

To start debugging, select IIS Express (<Browser name>) or Local IIS (<Browser name>) in the toolbar, select Start Debugging from the Debug menu, or press F5. The debugger pauses at the breakpoints. If the debugger can't hit the breakpoints, see Troubleshoot debugging.

How do I connect debugger to remote IIS?

Select Configure remote debugging to configure the firewall and start the remote debugger. When configuration is complete, the Remote Debugger window appears. The remote debugger is now waiting for a connection. Use the server name and port number shown to set the remote connection configuration in Visual Studio.

How do I insert a w3wp process in Visual Studio?

Open Visual Studio in Administrator Mode, then Debug -> attach to process -> tick the check box "Show processes from all user", select w3wp.exe. Administration mode is required for debugging the source code.

How can add worker process in asp net?

With the app running, in Visual Studio, select Debug > Attach to Process. In the Attach to Process dialog, type the first letters of process names from the following list, or enter them into the search box. The one that is running is the one running the ASP.NET app. Attach to that process to debug the app.


1 Answers

If you want to turn that off all you have to do is change the settings on the project file (using f4 to show the property grid). There is an option that says Always Start When Debugging, set that to false and you should be fine.

like image 189
davidfowl Avatar answered Sep 19 '22 18:09

davidfowl