VSCode 更改默认Debug 运行路径为代码所在目录
在全局Setting 里面加入
"launch": {
"configurations": [
{
"name": "Python: 当前文件,当前路径",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"cwd": "${fileDirname}"
}
],
"compounds": []
}
本博文本意在于记录个人的思考与经验,部分博文采用英语写作,可能影响可读性,请见谅
本文来自博客园,作者:ZXYFrank,转载请注明原文链接:https://www.cnblogs.com/zxyfrank/p/15408425.html

浙公网安备 33010602011771号