-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.json
46 lines (45 loc) · 1.25 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
// 使用 IntelliSense 以得知可用的屬性。
// 暫留以檢視現有屬性的描述。
// 如需詳細資訊,請瀏覽: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "myPython: Launch",
"type": "python",
"request": "launch"
"program": "${input:myPrompt}"
},
{
"name": "Python: Django Debug Single Test",
"type": "python",
"request": "launch",
"python": "${workspaceFolder}/.venv/bin/python",
"program": "${workspaceFolder}/manage.py",
"args": [
"test",
"${relativeFileDirname}"
],
"django": true
},
{
"name": "Python: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"args": [
"runserver"
],
"django": true,
"justMyCode": true
}
],
"inputs": [
{
"id": "myPrompt",
"type": "pickString",
"description": "Program to run: ",
"default": "foobar"
}
]
}