Fixed vscode test debugging problem
This commit is contained in:
parent
991181bf3c
commit
3a11c0a746
1
pkgs/clan-cli/.vscode/launch.json
vendored
1
pkgs/clan-cli/.vscode/launch.json
vendored
@ -11,6 +11,7 @@
|
|||||||
"module": "clan_cli.webui",
|
"module": "clan_cli.webui",
|
||||||
"justMyCode": false,
|
"justMyCode": false,
|
||||||
"args": [ "--reload", "--no-open", "--log-level", "debug" ],
|
"args": [ "--reload", "--no-open", "--log-level", "debug" ],
|
||||||
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
10
pkgs/clan-cli/.vscode/settings.json
vendored
10
pkgs/clan-cli/.vscode/settings.json
vendored
@ -1,7 +1,15 @@
|
|||||||
{
|
{
|
||||||
"python.testing.pytestArgs": [
|
"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"
|
"tests"
|
||||||
],
|
],
|
||||||
"python.testing.unittestEnabled": false,
|
"python.testing.unittestEnabled": false,
|
||||||
"python.testing.pytestEnabled": true
|
"python.testing.pytestEnabled": true,
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user