📜  vs 代码调试 cwd - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:44.391000             🧑  作者: Mango

代码示例1
{
    "version": "0.2.0",
    "configurations": [
    {
            "name": "Python: Current File (Integrated Terminal)",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "cwd": "${fileDirname}"
    }, 

    //... other settings, but I modified the "Current File" setting above ...
}