Fixed vscode test debugging problem

This commit is contained in:
Luis Hebendanz 2023-09-26 20:00:30 +02:00 committed by Mic92
parent 991181bf3c
commit 3a11c0a746
2 changed files with 10 additions and 1 deletions

View File

@ -11,6 +11,7 @@
"module": "clan_cli.webui",
"justMyCode": false,
"args": [ "--reload", "--no-open", "--log-level", "debug" ],
}
]
}

View File

@ -1,7 +1,15 @@
{
"python.testing.pytestArgs": [
// Coverage is not supported by vscode:
// https://github.com/Microsoft/vscode-python/issues/693
// Note that this will make pytest fail if pytest-cov is not installed,
// if that's the case, then this option needs to be be removed (overrides
// can be set at a workspace level, it's up to you to decide what's the
// best approach). You might also prefer to only set this option
// per-workspace (wherever coverage is used).
"--no-cov",
"tests"
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
"python.testing.pytestEnabled": true,
}