visual studio code每次debug,默认会显示“终端窗口”,但终端窗口会添加很多附属信息,比如启动的程序、参数等等。 "console":"none" “console”的值选项包括:
后续 可能讲得不是很清楚,我在此给出示例 {// 使用 IntelliSense 了解相关属性。 // 悬停以查看现有属性的描述。// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0","configurations": [{"name": "Python: Current File","type": "python","request": "launch","console":"none", // 新的vscode版本换“internalConsole”"stopOnEntry": false,"program": "${file}"},... // 其他配置 ]} |
|