Visual Code的调试
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"
}

左侧的侧边栏
包括查看变量,添加监视,调用堆栈

lanch.json
此文件中的 配置,直接影响到Debug的选项
name

args
"args": ["a","bc","chuck","kerry"],
作者:Chuck Lu GitHub |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了