Run 'Debug: Download .NET Core Debugger' in the Command Palette or open a .NET project directory to download the .NET Core Debugger
https://code.visualstudio.com/docs/editor/debugging
https://code.visualstudio.com/docs/languages/csharp
Please set up the launch configuration file for your application.
command 'csharp.listProcess' not found
Updating C# dependencies...
Platform: win32, x86_64
Downloading package 'OmniSharp (.NET 4.6 / x64)' Retrying from 'https://omnisharpdownload.blob.core.windows.net/ext/omnisharp-win-x64-1.21.0.zip' Downloading package '.NET Core Debugger (Windows / x64)' Retrying from 'https://vsdebugger.blob.core.windows.net/coreclr-debug-1-10-1/coreclr-debug-win7-x64.zip'
Installing package 'OmniSharp (.NET 4.6 / x64)'
Failed at stage: installPackages
Error: end of central directory record signature not found
Finished
需要设置代理:
File菜单-->Preferences-->Settings, 直接搜索proxy,
右侧直接配置用户级别的setting
// Place your settings in this file to overwrite the default settings
{
"http.proxy":"http://sasygsha01prx11_p.asnet.accorservices.net:8080"
}
![](https://i-blog.csdnimg.cn/blog_migrate/0cbf723d783a948f3f01170e2a8fc8fb.png)
左侧的侧边栏
包括查看变量,添加监视,调用堆栈
![](https://i-blog.csdnimg.cn/blog_migrate/e74fe2322cb863ae62d5a32a3e3b5005.png)
lanch.json
此文件中的 配置,直接影响到Debug的选项
name
![](https://i-blog.csdnimg.cn/blog_migrate/d227298ad597105bebefad879bbdc10b.png)
args
"args": ["a","bc","chuck","kerry"],