打开 launch.json ,在你需要使用的那个配置里添加下面这一行即可。"console": "none"记得在上一行结尾...
在vscode扩展里面安装 Code Runner 插件就行了,就能在输出栏干净输出