2024-02-08 19:04:07 +08:00
|
|
|
{
|
|
|
|
// 使用 IntelliSense 了解相关属性。
|
|
|
|
// 悬停以查看现有属性的描述。
|
|
|
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2024-02-14 21:28:53 +08:00
|
|
|
{
|
|
|
|
"name": "Python 调试程序: 包含参数的当前文件",
|
|
|
|
"type": "debugpy",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${file}",
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"args": "${command:pickArgs}"
|
|
|
|
},
|
2024-02-08 19:04:07 +08:00
|
|
|
{
|
2024-02-10 12:53:12 +08:00
|
|
|
"name": "Python 调试 main",
|
2024-02-08 19:04:07 +08:00
|
|
|
"type": "debugpy",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "src/debug.py",
|
|
|
|
"console": "integratedTerminal"
|
|
|
|
},
|
2024-02-10 12:53:12 +08:00
|
|
|
{
|
|
|
|
"name": "Python 调试 hook",
|
|
|
|
"type": "debugpy",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "src/hook.pyw",
|
|
|
|
"console": "integratedTerminal"
|
|
|
|
},
|
2024-02-12 22:08:52 +08:00
|
|
|
{
|
|
|
|
"name": "Python 调试程序: 当前文件",
|
|
|
|
"type": "debugpy",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "${file}",
|
2024-02-14 21:28:53 +08:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"sudo": true
|
2024-02-12 22:08:52 +08:00
|
|
|
},
|
2024-02-08 19:04:07 +08:00
|
|
|
{
|
|
|
|
"command": "make debug",
|
|
|
|
"name": "打包并在虚拟机中运行",
|
|
|
|
"request": "launch",
|
|
|
|
"type": "node-terminal"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|