Skip to content

Commit 2861752

Browse files
pytest vscode debug config
1 parent 41ae319 commit 2861752

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
// pytest: https://stackoverflow.com/questions/70259564/how-to-debug-the-current-python-test-file-with-pytest-in-vs-code
6+
"version": "0.2.0",
7+
"configurations": [{
8+
"name": "Python: Debug Tests",
9+
"type": "python",
10+
"request": "launch",
11+
"module": "pytest",
12+
"args": [
13+
"${file}"
14+
],
15+
"console": "integratedTerminal"
16+
}]
17+
}

0 commit comments

Comments
 (0)