cursor调试C#代码

cursor调试C#代码,缺点:没有比官方更好的提示

问题:vscode官方的C#插件无法在cursor中使用

image

解决方案

  1. 使用第三方插件,下载里面的扩展包 https://github.com/muhammadsammy/free-vscode-csharp/releases/tag/2.72.27

好像插件里面内置了 https://github.com/Samsung/netcoredbg

  1. 在cursor中安装外部插件
    image

  2. 安装后结果如下 (两个禁用的是官方的,如果不禁用官方的C#插件调试不了)
    image

  3. 此时我的项目目录是没有.vscode文件夹
    image

  4. 打开调试按钮生成调试文件
    image
    image

  5. 最后就有.vscode文件了,直接F5运行就行,效果如下
    image

posted @ 2025-04-22 16:46  熬过今天  阅读(2120)  评论(0)    收藏  举报