Closed as not planned
Description
Environment data
VS Code version: 1.19.3
Python Extension version: 2018.1.0
Python Version: 3.6.2
OS and version: Windows 10 latest update
Actual behavior
My initial setup has this setup.cfg file:
[tool:pytest]
addopts = --cov=mymodulename
This adds automatically a "--cov" to every "pytest" call, but prevents VSCode to stop at breakpoints. If I remove the file (or at least the --cov), I get back my breakpoints stop.
I changed my setup to put that in my Travis file instead, but I feel like this should work :/
Expected behavior
I should be able to have this file (and coverage) and debug at the same time.
Steps to reproduce:
- Install pytest and pytest-cov
- Create a setup.cfg as describe before
- Create even a simple test with a breakpoint inside