Created
March 30, 2023 10:45
-
-
Save LuqueDaniel/d36d871762b3548da238b1ddb0bf7328 to your computer and use it in GitHub Desktop.
VSCode debug python tests without coverage to avoid ignoring breakpoints
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug Unit Test", | |
"type": "python", | |
"request": "launch", | |
"justMyCode": false, | |
"program": "${file}", | |
"purpose": ["debug-test"], | |
"console": "integratedTerminal", | |
"env": { | |
"PYTEST_ADDOPTS": "--no-cov" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment