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
* Update with-visual-studio-code.md
Add a section with a configuration change to get debugging working for some users. This change follows this issue:
#5901 (comment)
* add `json` as a language marker
Copy file name to clipboardExpand all lines: docs/core/tutorials/with-visual-studio-code.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,37 @@ You can also watch a short video tutorial for further setup help on [Windows](ht
82
82
> [!TIP]
83
83
> For more information and troubleshooting tips on .NET Core debugging with OmniSharp in Visual Studio Code, see [Instructions for setting up the .NET Core debugger](https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger.md).
84
84
85
+
8. If debugging doesn't work in Visual Studio Code, you might need to change some configurations. Open `.vscode/launcher.json` file; you'll see 3 configuration sections:
86
+
87
+
*`"name": ".NET Core Launch (console)"`
88
+
*`"name": ".NET Core Launch (web)"`
89
+
*`"name": ".NET Core Attach"`
90
+
91
+
In the first section, `"name": ".NET Core Launch (console)"`, find the `"program"` field. Change its value to
0 commit comments