launch.json reports that '"request": "test",' is invalid, wants "attach" instead.
MarximusMaximus opened this issue · comments
When adding
{
"name": "Python: Debug Test (PythonTestExplorer)",
"type": "python",
"request": "test",
"justMyCode": false,
}
to launch.json, VSCode complains that "test"
is an invalid valid for "request"
. It wants to use "attach"
instead. Please support checking for either string, so as to be backwards compatible (test) but also to stop VSCode from complaining (attach).
Thank you.
@MarximusMaximus I've added support for "purpose": ["debug-test"]
and any "request"
to detect a valid debug configuration. Please, update to version 0.7.1 and let me know if this works for you.
Seems to work. Thank you!