如果我想在任何一个新建项目中默认加载debug方式, 不用重复创建launch.json文件, 则可将launch.json中最外层{}内的内容放到user setting中,
"launch": {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}"
},
]
},
网友评论