VSCode python环境运行搭建,vscodepython
分享于 点击 1738 次 点评:214
VSCode python环境运行搭建,vscodepython
tasks.json
{
"version": "0.1.0",
"command": "python",
"isShellCommand": true,
"args": ["${file}"],
"options": {
"env": {
"PYTHONIOENCODING": "UTF-8"
}
},
"showOutput": "always"
}
launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": false,
"externalConsole": false,
"program": "${file}",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
]
}
]
}
相关文章
- 暂无相关文章
用户点评