Skip to content

Instantly share code, notes, and snippets.

@LuqueDaniel
Created March 30, 2023 10:45
Show Gist options
  • Save LuqueDaniel/d36d871762b3548da238b1ddb0bf7328 to your computer and use it in GitHub Desktop.
Save LuqueDaniel/d36d871762b3548da238b1ddb0bf7328 to your computer and use it in GitHub Desktop.
VSCode debug python tests without coverage to avoid ignoring breakpoints
{
// 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