Skip to content

Commit 8d76fb5

Browse files
Add useful VSCode launch configuration
1 parent 5034531 commit 8d76fb5

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.vscode/launch.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,22 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
{
8+
"name": "Python: Current File",
9+
"type": "python",
10+
"request": "launch",
11+
"program": "${file}",
12+
"console": "integratedTerminal"
13+
},
714
{
815
"name": "Debug Unit Test",
916
"type": "python",
1017
"request": "launch",
1118
"justMyCode": false,
1219
"program": "${file}",
13-
"purpose": ["debug-test"],
20+
"purpose": [
21+
"debug-test"
22+
],
1423
"console": "integratedTerminal",
1524
"env": {
1625
// The default config in setup.cfg's "[tool:pytest]" adds coverage.
@@ -20,4 +29,4 @@
2029
},
2130
}
2231
]
23-
}
32+
}

0 commit comments

Comments
 (0)