microsoft / microsoft/vscode-python-debugger
pytest timeout respected when breakpoint is hit
@eleanorjboyd ci sta già lavorando.
Dal 28/10/2024.
- Lingua principale
- TypeScript
- Stelle
- 181
- Fork
- 126
- Merge medio
- 2g 3h
- PR unite (30g)
- 3
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.