You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/debugger/how-to-enable-and-disable-edit-and-continue.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Configure Edit and Continue
3
3
description: Learn how to enable, disable, and configure Edit and Continue, in Visual Studio Options at design time. Edit and Continue works only in debug builds.
4
-
ms.date: 02/22/2023
4
+
ms.date: 01/24/2025
5
5
ms.topic: how-to
6
6
dev_langs:
7
7
- CSharp
@@ -56,13 +56,13 @@ Or, open **Tools** > **Options** > **Debugging** > **.NET/C++ Hot Reload**.
56
56
57
57
The settings for Hot Reload include:
58
58
59
-
***Enable Hot Reload and Edit and Continue when debugging**. Enables Hot Reload when starting with the debugger attached (F5).
59
+
-**Enable Hot Reload**. Enables Hot Reload when starting with the debugger attached (F5).
60
60
61
-
***Enable Hot Reload when starting without debugging**. Enables Hot Reload when starting without the debugger attached (Ctrl+F5).
61
+
-**Enable Hot Reload when starting without debugging**. Enables Hot Reload when starting without the debugger attached (Ctrl+F5).
62
62
63
-
***Apply Hot Reload on File Save**. Applies code changes when you save the file.
63
+
-**Apply Hot Reload on File Save**. Applies code changes when you save the file.
64
64
65
-
***Logging Verbosity**. Filters amount of information displayed in the Hot Reload Output window.
65
+
-**Logging Verbosity**. Filters amount of information displayed in the Hot Reload Output window.
66
66
67
67

You can debug ASP.NET and ASP.NET Core apps in Visual Studio. The process differs between ASP.NET and ASP.NET Core, and whether you run it on IIS Express or a local IIS server.
23
23
24
24
>[!NOTE]
25
-
>The following steps and settings apply only to debugging apps on a local server. Debugging apps on a remote IIS server uses **Attach to Process**, and ignores these settings. For more information and instructions for remote debugging ASP.NET apps on IIS, see [Remote debug ASP.NET on an IIS computer](../debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer.md) or[Remote debug ASP.NET Core on a remote IIS computer](../debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md).
25
+
>The following steps and settings apply only to debugging apps on a local server. Debugging apps on a remote IIS server uses **Attach to Process**, and ignores these settings. For more information and instructions for remote debugging ASP.NET and ASP.NET Core, see [Remote debug ASP.NET Core on a remote IIS computer](../debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md), and[Remote debug Azure App Service](../debugger/remote-debugging-azure-app-service.md).
26
26
27
27
::: moniker range=">=vs-2022"
28
28
The built-in Kestrel and IIS Express servers are included with Visual Studio. Kestrel is the default debug server for ASP.NET Core projects, and is preconfigured. IIS Express is the default debug server for ASP.NET.
@@ -43,7 +43,7 @@ You can also debug an ASP.NET or ASP.NET Core app on a local IIS server (version
43
43
44
44
- Run Visual Studio as an administrator.
45
45
- Install and correctly configure IIS with the appropriate version(s) of ASP.NET and/or ASP.NET Core. For more information on using IIS with ASP.NET Core, see [Host ASP.NET Core on Windows with IIS](/aspnet/core/host-and-deploy/iis/index). For ASP.NET, see [Install IIS and ASP.NET Modules](/iis/application-frameworks/scenario-build-an-aspnet-website-on-iis/configuring-step-1-install-iis-and-asp-net-modules).
46
-
- Make sure the app runs on IIS without errors.
46
+
- Make sure the app runs on IIS and opens in the browser.
Copy file name to clipboardExpand all lines: docs/debugger/remote-debugging.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,13 @@ For in-depth instructions on remote debugging, see these topics.
26
26
27
27
|Scenario|Link|
28
28
|-|-|
29
-
|Azure App Service|[Remote debug ASP.NET Core on Azure](../debugger/remote-debugging-azure-app-service.md) or, for Visual Studio Enterprise, the [Snapshot Debugger](../debugger/debug-live-azure-applications.md)|
30
-
|Azure VM|[Remote debug ASP.NET on an Azure VM](../debugger/remote-debugging-azure.md)|
31
-
|ASP.NET|[Remote debug ASP.NET Core](../debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md) or [Remote Debug ASP.NET](../debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer.md)|
32
29
|C# or Visual Basic|[Remote debug a C# or Visual Basic project](../debugger/remote-debugging-csharp.md)|
33
30
|C++|[Remote debug a C++ project](../debugger/remote-debugging-cpp.md)|
34
-
|Docker|[Attach to a process running in a Docker container](../debugger/attach-to-process-running-in-docker-container.md)|
31
+
|Azure App Service|[Remote debug ASP.NET Core on Azure](../debugger/remote-debugging-azure-app-service.md) or, for Visual Studio Enterprise, the [Snapshot Debugger](../debugger/debug-live-azure-applications.md)|
32
+
|ASP.NET|[Remote debug ASP.NET Core](../debugger/remote-debugging-aspnet-on-a-remote-iis-computer.md) or [Remote Debug ASP.NET](../debugger/remote-debugging-aspnet-on-a-remote-iis-7-5-computer.md)|
33
+
|Azure VM|[Remote debug ASP.NET on an Azure VM](../debugger/remote-debugging-azure.md)|
35
34
|Linux|[Debug .NET Core on Linux using SSH by attaching to a process](../debugger/remote-debugging-dotnet-core-linux-with-ssh.md)|
35
+
|Docker|[Attach to a process running in a Docker container](../debugger/attach-to-process-running-in-docker-container.md)|
36
36
|Universal Windows Apps (UWP)|[Run UWP apps on a remote machine](../debugger/run-windows-store-apps-on-a-remote-machine.md) or [Debug an installed app package](../debugger/debug-installed-app-package.md)|
37
37
38
38
If you just want to download and install the remote debugger and don't need any additional instructions for your scenario, follow the steps in this article.
@@ -88,13 +88,21 @@ You can change some aspects of the configuration of the remote debugger after yo
88
88
89
89
Alternatively, you can start the remote debugger from the command line with the **/allow \<username>** parameter: **msvsmon /allow \<username@computer>**.
90
90
91
-
- If you need to change the Authentication mode or the port number, or specify a timeout value for the remote tools: choose **Tools > Options**.
91
+
- If you need to change the Authentication mode or the port number, or specify a time-out value for the remote tools: choose **Tools > Options**.
92
92
93
93
For a listing of the port numbers used by default, see [Remote Debugger Port Assignments](../debugger/remote-debugger-port-assignments.md).
94
94
95
95
> [!WARNING]
96
96
> You can choose to run the remote tools in No Authentication mode, but this mode is strongly discouraged. There's no network security when you run in this mode. Choose the No Authentication mode only if you're sure that the network isn't at risk from malicious or hostile traffic.
97
97
98
+
## Configure Visual Studio for remote debugging
99
+
100
+
For detailed instructions to connect to the app from Visual Studio, use the links related to your specific scenario at the beginning of this article.
101
+
102
+
Some scenarios require the use of Attach to Process to connect to a remote app that is already started. However, for .NET Core, .NET 5+, .NET Framework, and C++ apps, you can start the remote app from Visual Studio by configuring project properties and starting the debugger. For more information, see [Remote debug a C# or Visual Basic project](../debugger/remote-debugging-csharp.md) or [Remote debug a C++ project](../debugger/remote-debugging-cpp.md).
103
+
104
+
You can also remote debug an executable that is not part of a Visual Studio project, although the supported debugging features depend on configuration such as the availability of symbols. For more information, see [Debug an app that isn't part of a Visual Studio solution](../debugger/how-to-debug-an-executable-not-part-of-a-visual-studio-solution.md).
105
+
98
106
## <aname="bkmk_configureService"></a> (Optional) Configure the remote debugger as a service
99
107
100
108
For debugging in ASP.NET and other server environments, you must either run the remote debugger as an Administrator or, if you want it always running, run the remote debugger as a service.
Copy file name to clipboardExpand all lines: subscriptions/faq/admin/renewal-cancellation/includes/how-to-purchase.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Retail Visual Studio subscriptions available through the Microsoft Store include
24
24
25
25
Each of these subscriptions offers the option to make an initial purchase or to renew an existing subscription. Renewal pricing reflects a significant discount and is only available for existing subscriptions. To qualify to renew subscriptions at the discounted renewal price, subscriptions should be renewed before they expire.
26
26
27
-
If you’re looking to make a one-time purchase of Visual Studio without a subscription or any of the benefits that are included with a subscription, visit the Microsoft Store for [Visual Studio Professional 2019](https://www.microsoft.com/p/visual-studio-professional-2019/dg7gmgf0f6q1?cid=msft_web_collection&activetab=pivot%3aoverviewtab).
27
+
If you’re looking to make a one-time purchase of Visual Studio without a subscription or any of the benefits that are included with a subscription, visit the Microsoft Store for [Visual Studio Professional 2022](https://www.microsoft.com/d/visual-studio-professional-2022/dg7gmgf0d3sj?activetab=pivot:overviewtab).
28
28
29
29
### Visual Studio Marketplace
30
30
With monthly subscriptions, you can rent Visual Studio and Azure DevOps without a long-term contract. Billing is handled through your Microsoft Azure subscription. If you don’t have an Azure subscription yet—it’s free to set up and you can do it while you make your first purchase.
0 commit comments