Incorrect command suggested when attempting to use "debug tests" configuration
See original GitHub issueEnvironment data
VS Code: Version: 1.51.0 Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c Date: 2020-11-05T18:14:40.758Z (1 wk ago) Electron: 9.3.3 Chrome: 83.0.4103.122 Node.js: 12.14.1 V8: 8.3.110.13-electron.0 OS: Darwin x64 18.7.0
- Extension version (available under the Extensions sidebar): v2020.11.3583
- OS and version: MacOS 10.14.6
- Python 3.8
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
- Relevant/affected Python packages and their versions: All/doesn’t matter
- Relevant/affected Python-related VS Code extensions and their versions: N/A
- Value of the
python.languageServer
setting: Not explicitly set in settings.json
Expected behaviour
Attempting to debug unit tests gives the name of the right command to use.
Actual behaviour
A command is named that does not appear in the list of Python commands
Steps to reproduce:
Try to start debugging the following launch configuration:
{
"name": "Debug Tests",
"type": "python",
"request": "test",
"console": "integratedTerminal",
"justMyCode": false
}
The prompt screenshotted above appears.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ShahzaibParacha go ahead.
Closing this addressed by #14863