虚拟机新搭了vscode 写 python F5运行的时候 直接报错 Timed out waiting for launcher to connect
Visual Studio Code
[Content]
Timed out waiting for launcher to connect
报错得时候点击 打开 launch.json 将 "console": "integratedTerminal" 改为 "console": "internalConsole"
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: 当前文件",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "internalConsole"
}
]
}