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/remote-debugging-azure-app-service.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: "Remote Debug ASP.NET Core on Azure App Service"
3
3
description: Configure Azure App Service for remote debugging and attach the remote debugger from Visual Studio to debug the app as though it's running locally.
4
-
ms.date: 04/23/2024
4
+
ms.date: 11/21/2025
5
5
ms.topic: article
6
6
author: "mikejo5000"
7
7
ms.author: "mikejo"
@@ -20,8 +20,6 @@ This article describes how to attach the Visual Studio debugger to an ASP.NET Co
20
20
21
21
- You must first deploy an ASP.NET Core app to Azure App Service (Windows) from Visual Studio, and the app must be running.
22
22
23
-
For hands-on training that includes App Service deployment, see [Remote debug ASP.NET Core on Azure](/training/modules/dotnet-debug-visual-studio-azure-web-apps/).
24
-
25
23
- Your publish profile in Visual Studio must be set to Debug instead of Release before publishing.
26
24
27
25
## Enable remote debugging
@@ -51,11 +49,17 @@ Your app service instance now supports remote debugging through Visual Studio.
51
49
> [!NOTE]
52
50
> Make sure the state of your local code matches what was deployed to Azure. This ensures that the local symbol files and source code line up with the deployed app.
53
51
54
-
1. Select **Debug > Options** from the top Visual Studio menu. Ensure that **Enable Just My code** is *unchecked* (as shown below), and then select **OK**.
52
+
1. Select **Debug > Options** from the top Visual Studio menu. Ensure that **Enable Just My code** is *unchecked* (as shown in the following illustration), and then select **OK**.
55
53
56
54
Changing this setting allows Visual Studio to debug the optimized code that was deployed to Azure using the necessary symbol files from your local bin folder. Symbol files are used by the debugger as a bridge between compiled, executing code and the source code in Visual Studio. Matching symbol files are required for remote debugging.
57
55
56
+
::: moniker range="visualstudio"
57
+
:::image type="content" source="../debugger/media/visualstudio/visual-studio-remote-debug-settings.png" alt-text="A screenshot of the Visual Studio debugging settings.":::
58
+
::: moniker-end
59
+
60
+
::: moniker range="vs-2022"
58
61
:::image type="content" source="../debugger/media/vs-2022/visual-studio-remote-debug-settings.png" alt-text="A screenshot of the Visual Studio debugging settings.":::
Copy file name to clipboardExpand all lines: docs/ide/encodings-and-line-breaks.md
+14-1Lines changed: 14 additions & 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: Encoding and line break characters
3
3
description: Explore the special characters that Visual Studio interprets as line breaks and separators and understand how to configure and maintain your encoding and line break.
4
-
ms.date: 12/17/2024
4
+
ms.date: 11/13/2025
5
5
ms.topic: concept-article
6
6
f1_keywords:
7
7
- vs.Encoding
@@ -56,6 +56,19 @@ You can also place the **Advanced Save Options** command directly on the **File*
56
56
57
57
For more information, see [Customize menus and toolbars](./how-to-customize-menus-and-toolbars-in-visual-studio.md#customize-a-menu-or-a-toolbar).
58
58
59
+
:::moniker range="visualstudio"
60
+
61
+
## Encoding in the editor margin
62
+
63
+
The editor bottom margin features an encoding widget that displays the current automatically detected encoding for the file, but also lets you change it. You can reopen or save the current file with a different encoding.
64
+
65
+
:::image type="content" alt-text="Screenshot showing editor bottom margin with the encoding widget highlighted." source="media/visualstudio/encoding-in-margin.png":::
66
+
67
+
If you choose to reopen or save the file, a dialog appears that lets you select an encoding. For help deciding what encoding you need, see [Character and data encoding](/globalization/encoding/encoding-overview).
68
+
69
+
:::moniker-end
70
+
59
71
## Related content
60
72
61
73
-[Features of the code editor](./writing-code-in-the-code-and-text-editor.md)
74
+
-[Character and data encoding](/globalization/encoding/encoding-overview)
Copy file name to clipboardExpand all lines: docs/ide/writing-code-in-the-code-and-text-editor.md
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,11 @@ You can find many advanced features on the **Edit** > **Advanced** menu on the t
65
65
66
66
## Navigate and find code
67
67
68
-
You can move around the code editor in several different ways, including navigating backward and forward to previous insertion points, viewing the definition of a type or member, and jumping to a specific method using the navigation bar. For more information, see [Navigate code](navigating-code.md).
68
+
You can move around the code editor in several different ways, including jumping to a specific line number, navigating backward and forward to previous insertion points, viewing the definition of a type or member, and jumping to a specific method using the navigation bar. For more information, see [Navigate code](navigating-code.md).
69
+
70
+
:::moniker range="visualstudio"
71
+
To jump to a line number, press **Ctrl**+**G** or click the line and column numbers in the editor's bottom margin.
72
+
:::moniker-end
69
73
70
74
You can also set bookmarks to mark lines in your code so that you can quickly return to a specific location, or jump back and forth between locations. To learn more, see [Bookmark code](setting-bookmarks-in-code.md).
71
75
@@ -103,6 +107,24 @@ You can share your Visual Studio settings with another developer, have your sett
103
107
104
108
To define new hotkeys or redefine existing hotkeys, go to **Tools** > **Options** > **Environment** > **Keyboard**. For more information about hotkeys, see [Keyboard shortcuts](../ide/default-keyboard-shortcuts-in-visual-studio.md).
105
109
110
+
:::moniker range="visualstudio"
111
+
112
+
The bottom margin of the editor contains some customization controls.
113
+
114
+
You can easily change the default indentation style from tabs to spaces to vice versa by clicking on SPC or TAB. The actual number of spaces is configurable in **Tools** > **Options**, under **All Settings** > **Text Editor** > **All languages** > **Tabs**.
115
+
116
+
You can also change the default end-of-line codes from CR LF, the standard on Windows, to a different setting for better compatibility with other operating systems.
117
+
118
+
The bottom margin of the editor can also be customized. Right-click on an unused area of the margin to open the context menu, which lets you select or unselect each control element.
119
+
120
+
:::image type="content" alt-text="Screenshot of the bottom margin context menu, showing optional control elements." source="./media/visualstudio/editor-bottom-margin-context-menu.png":::
121
+
122
+
You can also change these settings in the **Tools** > **Options** pane, under **All Settings** > **Text Editor** > **General**. To control the bottom margin elements, make your selections under **Show editing context in the editor**.
123
+
124
+
:::image type="content" alt-text="Screenshot of Tools > Options experience under Text Editor > General, with the setting Show editing context in the editor highlighted." source="./media/visualstudio/tools-options-show-editing-context-in-the-editor.png":::
125
+
126
+
:::moniker-end
127
+
106
128
For JavaScript-specific editor options, see [JavaScript editor options](/previous-versions/visualstudio/visual-studio-2017/ide/reference/options-text-editor-javascript-formatting).
0 commit comments