Fixed vscode test debugging problem
This commit is contained in:
1
pkgs/clan-cli/.vscode/launch.json
vendored
1
pkgs/clan-cli/.vscode/launch.json
vendored
@@ -11,6 +11,7 @@
|
||||
"module": "clan_cli.webui",
|
||||
"justMyCode": false,
|
||||
"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": [
|
||||
// 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,
|
||||
}
|
||||
Reference in New Issue
Block a user