Changing error messages - differences in reported errors between VS and pyright cli
@bschnurr is already working on this.
Since Dec 12, 2023.
- Dominant language
- C#
- Stars
- 2.6k
- Forks
- 680
- Avg merge
- 39m
- Merged PRs (30d)
- 1
Description
Describe the bug
After starting n (1<= n <= 10) debug sessions, the reported errors change. Usually at this point in time, the Output-Pylance entry in the drop-down menu disappears
Steps to Reproduce
Open project - Errors reported:

Start debug sessions. After a couple of runs, error reporting will change:

(this has nothing to do with the current problems with flask, another project not using flask exhibits the same behavior)
The change in error reporting always happens, surprisingly this time the output-pylance entry did not disappear:

Notable difference is the line saying "no source files found"
Editing code yields new error messages but only on the new baseline. The initially reported errors are still there but do not get reported.

Expected behavior
Stable and reliable reporting of errors
Additional context and screenshots
I have not been able to force output-pylance to disappear, after some debug sessions it is gone.
Configuration information (If you are providing a diagnostics file (see below), skip this section)
`

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.