-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"test" is not an allowed value for the "request" property of launch configs configurations #15790
Comments
What would the preferred way be for us to be able to denote which launch configuration is meant to be used when debugging a test when launched from our test explorer? |
@brettcannon you can either:
|
Verification steps:
{
"name": "Some configuration",
"type": "python",
"request": "test",
"console": "integratedTerminal"
},
|
@rzhao271 can you try with this vsix: https://pvsc.blob.core.windows.net/extension-builds/ms-python-insiders.vsix |
I got it to work. |
The documentation at https://code.visualstudio.com/docs/python/testing#_debug-tests says that a value "test" can be used for the "request" property of launch configs configurations.
Please note, that this is neither supported by VS Code nor by DAP and it will break an unknown number of assumptions and result in a bad user experience (e.g. microsoft/vscode#119903). The only supported values are "launch" and "attach".
The text was updated successfully, but these errors were encountered: