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-debugging-for-aspnet-applications.md
+8-4Lines changed: 8 additions & 4 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: Enable debugging for ASP.NET apps
3
3
description: Learn how to enable debugging for ASP.NET and ASP.NET Core apps in Visual Studio. You can run the process on an IIS Express server or a local IIS server.
4
-
ms.date: 01/30/2024
4
+
ms.date: 01/21/2025
5
5
ms.topic: how-to
6
6
dev_langs:
7
7
- CSharp
@@ -48,7 +48,7 @@ You can also debug an ASP.NET or ASP.NET Core app on a local IIS server (version
48
48
::: moniker range=">=vs-2022"
49
49
## Debug ASP.NET Core apps
50
50
51
-
A default profile based for https or one based on the project name may be present, which are configured for the Kestrel web server. If you're debugging on local IIS instead, make sure you meet the [prerequisites for local IIS debugging](#prerequisites-for-local-iis-server).
51
+
A default profile named **https** or one based on the project name may be present, which are configured for the Kestrel web server. If you're debugging on local IIS instead, make sure you meet the [prerequisites for local IIS debugging](#prerequisites-for-local-iis-server).
52
52
53
53
1. Select the ASP.NET Core project in Visual Studio **Solution Explorer** and click the **Properties** icon, or press **Alt**+**Enter**, or right-click and choose **Properties**.
54
54
@@ -66,9 +66,13 @@ A default profile based for https or one based on the project name may be presen
66
66
67
67
1. Make sure that **Url**, **App URL**, and **App SSL URL** are correct.
68
68
69
-
**Url** specifies the location of host URL for .NET or .NET Core. For a profile named after the project (that is, the commandName property in `launchSettings.json` is *Project*), the Kestrel server listens to the port specified. For an IIS profile, this is typically the same value as the **App URL**. For more information, see the IIS launch profile section under [Configure the project](/aspnet/core/host-and-deploy/iis/development-time-iis-support#configure-the-project).
69
+
**Url** specifies the location of host URL for .NET Core or .NET 5+. For a profile named after the project (that is, the commandName property in `launchSettings.json` is *Project*), the Kestrel server listens to the port specified. For an IIS profile, this is typically the same value as the **App URL**. For more information, see the IIS launch profile section under [Configure the project](/aspnet/core/host-and-deploy/iis/development-time-iis-support#configure-the-project).
70
70
71
-
**App URL** and **App SSL URL** specify the application URL(s). For a profile named after the project, this property specifies the Kestrel server URLs, typically `https://localhost:5001` and `http://localhost:5000`. For IIS Express, the **App SSL URL** is typically `http://localhost:44334`.
71
+
**App URL** and **App SSL URL** specify the application URL(s).
72
+
73
+
- For an **https** profile, the **App URL** property is typically `https://localhost:7241;http://localhost:5175`.
74
+
- For a profile named after the project, these properties are typically `http://localhost:5000` and `https://localhost:5001`.
75
+
- For IIS Express, the **App SSL URL** is typically `https://localhost:44334`.
72
76
73
77
1. Under **Environment variables**, make sure that **ASPNETCORE_ENVIRONMENT** is present with a value of **Development**. If not, add the variable.
Copy file name to clipboardExpand all lines: docs/debugger/how-to-set-debug-and-release-configurations.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
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Set debug and release configurations
3
3
description: Set debug and release configurations in Visual Studio. You build the debug version for debugging and the release version for the final release distribution.
Copy file name to clipboardExpand all lines: docs/debugger/remote-debugging.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: Remote debugging
3
3
description: Debug a Visual Studio application that has been deployed on a different computer by using the Visual Studio remote debugger.
4
-
ms.date: 01/19/2024
4
+
ms.date: 01/21/2025
5
5
ms.topic: conceptual
6
6
f1_keywords:
7
7
- "vs.debug.remote.overview"
@@ -84,7 +84,7 @@ You can change some aspects of the configuration of the remote debugger after yo
84
84
- If you need to add permissions for other users to connect to the remote debugger, choose **Tools > Permissions**. You must have administrator privileges to grant or deny permissions.
85
85
86
86
> [!IMPORTANT]
87
-
> You can run the remote debugger under a user account that differs from the user account you are using on the Visual Studio computer, but you must add the different user account to the remote debugger's permissions.
87
+
> You can run the remote debugger under a user account that differs from the user account you're using on the Visual Studio computer, but you must add the different user account to the remote debugger's permissions.
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
@@ -93,15 +93,15 @@ You can change some aspects of the configuration of the remote debugger after yo
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
-
> You can choose to run the remote tools in No Authentication mode, but this mode is strongly discouraged. There is no network security when you run in this mode. Choose the No Authentication mode only if you are sure that the network is not at risk from malicious or hostile traffic.
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
98
## <aname="bkmk_configureService"></a> (Optional) Configure the remote debugger as a service
99
99
100
100
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.
101
101
102
102
If you want to configure the remote debugger as a service, follow these steps.
103
103
104
-
1. Find the **Remote Debugger Configuration Wizard** (rdbgwiz.exe). (This is a separate application from the Remote Debugger.) It is available only when you install the remote tools. It is not installed with Visual Studio.
104
+
1. Find the **Remote Debugger Configuration Wizard** (rdbgwiz.exe). (This is a separate application from the Remote Debugger.) It is available only when you install the remote tools. It isn't installed with Visual Studio.
105
105
106
106
2. Start running the configuration wizard. When the first page comes up, click **Next**.
107
107
@@ -113,7 +113,7 @@ For debugging in ASP.NET and other server environments, you must either run the
113
113
114
114
5. Select the type of network that you want the remote tools to communicate with. At least one network type must be selected. If the computers are connected through a domain, you should choose the first item. If the computers are connected through a workgroup or homegroup, you should choose the second or third items. Click **Next**.
115
115
116
-
6. If the service can be started, you will see **You have successfully completed the Visual Studio Remote Debugger Configuration Wizard**. If the service cannot be started, you will see **Failed to complete the Visual Studio Remote Debugger Configuration Wizard**. The page also gives some tips to follow to get the service to start.
116
+
6. If the service can be started, you'll see **You have successfully completed the Visual Studio Remote Debugger Configuration Wizard**. If the service can't be started, you'll see **Failed to complete the Visual Studio Remote Debugger Configuration Wizard**. The page also gives some tips to follow to get the service to start.
Copy file name to clipboardExpand all lines: docs/debugger/using-the-parallel-stacks-window.md
+5-3Lines changed: 5 additions & 3 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: "View threads in the Parallel Stacks window"
3
3
description: Use Parallel Stacks to help debug multithreaded applications. You can view stack information for all threads, and task-centered call stack information.
4
-
ms.date: "03/05/2024"
4
+
ms.date: "01/22/2025"
5
5
ms.topic: "conceptual"
6
6
f1_keywords:
7
7
- "vs.debug.parallelstacks"
@@ -148,7 +148,7 @@ When the **Threads** view graph is too large to fit into the window, a **Bird's
148
148
149
149
::: moniker range="vs-2019"
150
150
151
-
The following illustration shows one thread that goes from Main to a Managed to Native code transition. Six threads are in the current method. One continues to Thread.Sleep, and another continues to Console.WriteLine and then to SyncTextWriter.WriteLine.
151
+
The following illustration shows one thread that goes from Main to a Managed to Native code transition. Six threads are in the current method. Two threads continue to Thread.Sleep, and two continue to Console.WriteLine and the current thread continues to SyncTextWriter.WriteLine.
152
152
153
153

154
154
@@ -167,7 +167,7 @@ The following table describes the main features of the **Threads** view:
167
167
168
168
::: moniker range=">=vs-2022"
169
169
170
-
The following illustration shows one thread that goes from Main to a Managed to Native code transition. Five threads are in the current method. One continues to ServerClass.InstanceMethod, and another continues to Worker.Thread.Start and then to StartupHook.Initialize.AnonymousMethod.
170
+
The following illustration shows the Main thread in a Managed to Native code transition. Five threads are in the current method. Four threads continue executing in the S.C method context, while one worker thread continues in a Managed to Native code transition, setting the name on a worker thread.
171
171
172
172
[](../debugger/media/vs-2022/parallel-stacks-toolbar-threads-view.png#lightbox)
173
173
@@ -181,7 +181,9 @@ The following table describes the main features of the **Threads** view:
181
181
|4|Node header|Shows the number of processes/threads, thread name, and thread ID for the node.|
182
182
|5|Method|Represents one or more stack frames in the same method.|
183
183
|6|Tooltip on method|Appears when you hover over a method. In **Threads** view, the tooltip shows all threads, in a table similar to the **Threads** window. |
184
+
|7|Thread description|AI-generated description of the thread. Starting in Visual Studio 2022 version 17.13 Preview 1, this description is present when [Copilot](../ide/visual-studio-github-copilot-install-and-states.md) is installed and activated. |
184
185
::: moniker-end
186
+
185
187
## Tasks view
186
188
If your app uses <xref:System.Threading.Tasks.Task?displayProperty=fullName> objects (managed code) or `task_handle` objects (native code) to express parallelism, you can use **Tasks** view. **Tasks** view shows call stacks of tasks instead of threads.
Copy file name to clipboardExpand all lines: docs/debugger/view-data-in-tabular-visualizer.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
@@ -60,7 +60,7 @@ Starting in Visual Studio 2022 version 17.11, you can directly change the **Expr
60
60
61
61
Starting in Visual Studio 2022 version 17.12 Preview 3, you get IntelliSense support to help you edit the expression.
62
62
63
-
Starting in Visual Studio 2022 version 17.12 Preview 2, you can get AI assistance to edit the LINQ expression. If you have Copilot activated, click the GitHub [Copilot](../ide/visual-studio-github-copilot-extension.md) icon to open Copilot Chat.
63
+
Starting in Visual Studio 2022 version 17.12 Preview 2, you can get AI assistance to edit the LINQ expression. If you have Copilot activated, click the GitHub [Copilot](../ide/visual-studio-github-copilot-install-and-states.md) icon to open Copilot Chat.
64
64
65
65
:::image type="content" source="../debugger/media/vs-2022/debug-ienumerable-visualizer-edit-expression-copilot.png" alt-text="Screenshot of Copilot button to get help to edit the expression.":::
Copy file name to clipboardExpand all lines: docs/ide/copilot-free-plan.md
+2-3Lines changed: 2 additions & 3 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: 'GitHub Copilot Free in Visual Studio'
3
3
description: Use GitHub Copilot Completions, Chat, and Edits for free in Visual Studio.
4
-
ms.date: 1/22/2025
4
+
ms.date: 1/23/2025
5
5
ms.topic: overview
6
6
author: anandmeg
7
7
ms.author: meghaanand
@@ -24,8 +24,7 @@ To get started with Copilot Free in Visual Studio, you need:
24
24
25
25
Set up Copilot Free using Visual Studio as follows:
26
26
27
-
1. In Visual Studio, select the **GitHub Copilot** badge in the upper-right corner of the IDE.
28
-
1. Select **Open Chat Window** from the dropdown.
27
+
1. Use **Ctrl+\\** to open the chat window in Visual Studio. You can also select the **GitHub Copilot** badge in the upper-right corner of the IDE, and then select **Open Chat Window** from the dropdown to open chat.
29
28
1. Select **Sign up for Copilot Free**.
30
29
31
30
:::image type="content" source="media/vs-2022/copilot-free/sign-up-for-copilot-free.png" alt-text="Screenshot of Sign up for Copilot Free in the Chat window.":::
0 commit comments