Update launch.json

adding .vscode configuration to the project broke/changed a bunch of stuff.  this fixes the ability to debug pytest
This commit is contained in:
smilerz
2024-03-13 08:25:22 -05:00
committed by GitHub
parent dda2cc16e7
commit 2d021a83cf

20
.vscode/launch.json vendored
View File

@@ -13,6 +13,22 @@
"args": ["runserver"],
"django": true,
"justMyCode": true
}
},
{
"name": "Python: Debug Tests",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"purpose": [
"debug-test"
],
"console": "integratedTerminal",
"env": {
"//comment": "coverage and pytest can't both be running at the same time",
"PYTEST_ADDOPTS": "--no-cov -n 2"
},
"django": true,
"justMyCode": true
},
]
}
}