mirror of
https://github.com/1j01/textual-paint.git
synced 2024-08-17 11:50:38 +03:00
VS Code: Add launch configuration for debugging tests
I just want to disable the external code skipping feature ("justMyCode") but I seem to have to abandon the pytest integration to do so?
This commit is contained in:
parent
bb8e968f6c
commit
370b497cc6
13
.vscode/launch.json
vendored
13
.vscode/launch.json
vendored
@ -47,6 +47,17 @@
|
||||
"args": ["run", "--dev", "src.textual_paint.paint --clear-screen --restart-on-changes"],
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Debug Tests",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"program": ".venv/bin/pytest",
|
||||
// "args": ["tests/test_snapshots.py::test_paint_open_dialog"],
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false,
|
||||
// If using pytest-cov in the future:
|
||||
// "env": {"PYTEST_ADDOPTS": "--no-cov"}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user