简体   繁体   中英

vscode debug c# application

I created a simple "hello world" .net application using the following command:

dotnet new console -n testApplication

When i launch the application using the command:

dotnet run

everything is fine; if i try to debug the application using the .NET Core Launch (console) in VSCode i receive the alert: cannot find the debug adapter for type 'coreclr' c# extension is correctly installed.

Is there any additional setting to perform?

It seems, while installing the C# Extension for VSCode - need to get the Debugger for C#. From the Visual Studio Code IDE - Side Menu/"Extensions( ctrl + shift + X )" download the OmniSharp packages to include the C# debugger or can Insall the same from the Link:: https://marketplace.visualstudio.com/items?itemName=ms-vscode.csharp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM