VSCode 无法在外部窗口中打开控制台



我是C#的初学者,最近刚刚学习它。每当我运行Project.cs文件时,它都不会在外部终端中打开,尽管launch.json文件已经过修改。我的代码如下:

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/net6.0/My Awesome Program.dll",
"args": [],
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]

}

更改下一行

";控制台":"internalConsole">
收件人
";控制台":"外部终端">

最新更新