Skip to content

Instantly share code, notes, and snippets.

@jt-kl
Last active May 15, 2024 13:35
Show Gist options
  • Save jt-kl/67bd781287d2ba8619acfe406c70c612 to your computer and use it in GitHub Desktop.
Save jt-kl/67bd781287d2ba8619acfe406c70c612 to your computer and use it in GitHub Desktop.
VSCode Launch Config
{
"configurations": [
{
"args": [],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"justMyCode": true,
"name": "Python: File",
"program": "${file}",
"request": "launch",
"type": "debugpy"
},
{
"args": [
"--no-cov",
"-vvv",
"-s"
],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {},
"internalConsoleOptions": "openOnSessionStart",
"module": "pytest",
"name": "Test (No/Coverage)",
"purpose": [
"debug-test"
],
"redirectOutput": true,
"request": "launch",
"type": "debugpy"
},
{
"args": [
"--cov=<my_project_name>",
"--cov-report=term-missing",
"-vvv",
"-s"
],
"console": "integratedTerminal",
"cwd": "${workspaceFolder}",
"env": {},
"internalConsoleOptions": "openOnSessionStart",
"module": "pytest",
"name": "Test (With/Coverage)",
"purpose": [
"debug-test"
],
"redirectOutput": true,
"request": "launch",
"type": "debugpy"
}
],
"version": "0.2.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment