Skip to content

Commit 1bc9ab4

Browse files
1 parent f4ccb51 commit 1bc9ab4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

template/.vscode/launch.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,24 @@
2121
"request": "launch",
2222
"program": "${file} ${input:input}",
2323
"console": "internalConsole"
24+
},
25+
{
26+
//? Needs to be "pytest" adapter for now.
27+
//? "debugpy" adapter isn't seen, to toggle "justMyCode" in test configuration
28+
//? https://github.com/microsoft/vscode-python-debugger/issues/112
29+
//? https://github.com/microsoft/vscode-python-debugger/issues/94
30+
"name": "pytest",
31+
//! Uncomment below to disable "justMyCode" when debugging. Comment out after.
32+
// "purpose": ["debug-test"],
33+
//!
34+
"presentation": {
35+
"hidden": true
36+
},
37+
"type": "python",
38+
"request": "launch",
39+
"program": "${file}",
40+
"console": "internalConsole",
41+
"justMyCode": false
2442
}
2543
]
2644
}

0 commit comments

Comments
 (0)