Open astrojuanlu opened 5 months ago
@astrojuanlu Do you know if this is a problem for just VSCode or other IDEs as well?
It's been a few years since I last used PyCharm but I recall this used to be a problem there as well. So it probably affects other IDEs.
This affect PyCharm too. This mainly affect maintainers/contributor because debugging a Kedro project won't have this problem. This only exists in the kedro/kedro-datasets repository
Description
With this
launch.json
:I was being unable to do a proper debugging (VSCode would skip all me breakpoints). Then after squinting at the logs I found this:
It turns out we're adding
--cov
in all pytest invokations:https://github.com/kedro-org/kedro-plugins/blob/f33acbea33628abfc98a5c112e49931988f29b5a/kedro-datasets/pyproject.toml#L38-L43
Removing those lines allowed me to perform a normal debugging session.