如何禁用消息“您只能使用 Microsoft .NET Core 调试器..."? [英] how to disable message "You may only use the Microsoft .NET Core Debugger..."?

查看:33
本文介绍了如何禁用消息“您只能使用 Microsoft .NET Core 调试器..."?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Ubuntu 19.10 上运行 Visual Studio Code 1.42.1,使用默认的 C# 扩展版本 1.21.11.

I'm running Visual Studio Code 1.42.1 on Ubuntu 19.10, using the default C# extension version 1.21.11.

每当我使用开始调试"或什至通过不调试运行"启动 C# 程序时,我都会在输出窗口中看到以下消息:

Whenever I launch a C# program using "Start Debugging", or even via "Run Without Debugging", I see this message in the output window:

-------------------------------------------------------------------
You may only use the Microsoft .NET Core Debugger (vsdbg) with
Visual Studio Code, Visual Studio or Visual Studio for Mac software
to help you develop and test your applications.
-------------------------------------------------------------------

这条消息很烦人.有什么办法可以禁用它吗?

This message is annoying. Is there any way to disable it?

推荐答案

解决这个问题的方法你可以在你的launch.json文件中修改一些东西

The way to solve this problem you can change something in your launch.json file

  1. 打开 .vscode/launch.json
  2. 将控制台设置更改为integratedTerminal

来自:控制台":内部控制台",

致:控制台":集成终端",

  1. 保存更改并开始调试项目

这对我来说效果很好

这篇关于如何禁用消息“您只能使用 Microsoft .NET Core 调试器..."?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆