microsoft / microsoft/vscode-python-debugger
pytest timeout respected when breakpoint is hit
@eleanorjboyd arbeitet bereits daran.
Seit 28.10.2024.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 181
- Forks
- 126
- Ø Merge
- 2 T. 3 Std.
- Gemergte PRs (30 T.)
- 3
Beschreibung
At the Home Assistant core repo, we use this extension to debug pytest unit tests. There's a 10 seconds timeout passed to pytest.
Prior to v2024.11.2024092501, when a breakpoint is hit, the breakpoint remains hitted until the users acts (continue to debug, step in, any action). With v2024.11.2024092501, the timeout seems to be respected somehow and the breakpoints is no longer hit around 10 seconds after starting.
Reproduction steps:
Open a devcontainer of https://github.com/home-assistant/core
Ensure the latest python-debugger is installed
Change a test (add a random assert), place a breakpoint on this assert
Go to "Run and debug" and choose "Home Assistant: changed tests"
See the breakpoint being hit, wait 10 seconds, breakpoint is no longer hit
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.