level 12
MISTIS
楼主
最新版本的VSCode对于MSVC编译期配置下,调试程序使用外部控制台
launch.json >> console: externalConsole
会出现参数报错的问题,如果需要使用外部控制台,请保持使用 1.85 版本或是使用非外部控制台
integratedTerminal | internalConsole | newExternalWindow
报错截图

相关 Issues
Launch with externalTerminal opening in Windows Terminal, but settings point to cmd.exe · Issue #204039 · microsoft/vscode (github.com)
https://github.com/microsoft/vscode/issues/204039
externalConsole cant be opend anymore · Issue #204073 · microsoft/vscode (github.com)
https://github.com/microsoft/vscode/issues/204073
2024年02月05日 09点02分
1
launch.json >> console: externalConsole
会出现参数报错的问题,如果需要使用外部控制台,请保持使用 1.85 版本或是使用非外部控制台
integratedTerminal | internalConsole | newExternalWindow
报错截图

相关 IssuesLaunch with externalTerminal opening in Windows Terminal, but settings point to cmd.exe · Issue #204039 · microsoft/vscode (github.com)
https://github.com/microsoft/vscode/issues/204039
externalConsole cant be opend anymore · Issue #204073 · microsoft/vscode (github.com)
https://github.com/microsoft/vscode/issues/204073