VS代码在集成终端而不是java调试控制台中启动调试

VS代码在集成终端而不是java调试控制台中启动调试,java,visual-studio-code,terminal,console,vscode-debugger,Java,Visual Studio Code,Terminal,Console,Vscode Debugger,有人能帮我吗。我在终端中得到输出,而不是在调试控制台中。 这是我的启动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 &

有人能帮我吗。我在终端中得到输出,而不是在调试控制台中。 这是我的启动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": [
   {
            "type": "java",
            "name": "Debug (Launch) - Current File",
            "request": "launch",
            "mainClass": "${file}"
        }
  ]
}
在launch.json中添加
“console”:“internalConsole”
,它指定VS code调试控制台(不支持输入流)来启动程序

有关调试的详细信息,请查看