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