Skip to content

Commit

Permalink
Add debug configuration for unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jos Verlinde <[email protected]>
  • Loading branch information
Josverl committed Jan 17, 2024
1 parent 1a9fa9b commit 0f05fb0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,21 @@
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false
},
{
"name": "Debug Unit Test",
"type": "python",
"request": "launch",
"justMyCode": false,
"program": "${file}",
"purpose": [
"debug-test"
],
"console": "integratedTerminal",
"env": {
// disable code coverage to allow breakpoints for debugging
"PYTEST_ADDOPTS": "--no-cov"
},
}
]
}

0 comments on commit 0f05fb0

Please sign in to comment.