VSCode 更改默认Debug 运行路径为代码所在目录

在全局Setting 里面加入

  "launch": {
    "configurations": [
      {
        "name": "Python: 当前文件,当前路径",
        "type": "python",
        "request": "launch",
        "program": "${file}",
        "console": "integratedTerminal",
        "cwd": "${fileDirname}"
      }
    ],
    "compounds": []
  }
上一篇:Eclipse中配置Maven 技巧


下一篇:maven setting.XML配置