Run Test | Debug Test disappear on save, then re-appear when tabbing on/off the file.
See original GitHub issueEnvironment data
- VS Code version: 1.27.2
- Extension version (available under the Extensions sidebar): 2018.8.0
- OS and version: Ubuntu 16.04
- Python version (& distribution if applicable, e.g. Anaconda): Python 3.6.3
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): venv
Actual behavior
I have 2 files, test_vscode1.py
and test_vscode2.py
. I first discover the unit tests to get the Run Test | Debug Test
buttons. Next, I remove the i = 0
line and re-save the file. The Run Test | Debug Test
disappears permanently if I stay on this file. Next, I tab to the test_vscode1.py
file and back to the test_vscode2.py
file and the Run Test | Debug Test
buttons re-appear.
Expected behavior
Don’t make the Run Test | Debug Test
buttons disappear on save.
Steps to reproduce:
- See the description above
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
Just a bunch of nose discovery stuff, don't think it's useful
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
)
Issue Analytics
- State:
- Created 5 years ago
- Reactions:10
- Comments:25
Top Results From Across the Web
Visual Studio Code's "Run Test | Debug Test" option missing ...
Check your options to confirm that the Go test explorer is enabled: Preferences > Settings > User Settings > find "go test enable...
Read more >Secrets of the ABAP Debugger: Advanced ABAP Debugging ...
Goal of this blog post The ABAP debugger is a powerful tool helping to examine your ABAP code at runtime. Besides the common...
Read more >Debugging with GDB - sourceware.org
Execute commands from file file . The contents of this file is evaluated exactly as the source command would. See Command files. -eval-command...
Read more >Run unit tests with Test Explorer - Visual Studio (Windows)
Run tests after every build To run your unit tests after each local build, open the settings icon in the Test Explorer toolbar...
Read more >PySimpleGUI
There is a separate Readme file for the WxPython version. ... Make your development progress in a way you can run and test...
Read more >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
@amittleider Please could you try adding the following setting into your
settings.json
file:"python.jediEnabled":false
Let me know how that goesFixed by #16769, we don’t have code lenses anymore: