microsoft / microsoft/vscode-python-debugger

pytest timeout respected when breakpoint is hit

Abierto
#492 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@eleanorjboyd ya está trabajando en esto.

Desde el 28/10/2024.

triage-needed
Lenguaje dominante
TypeScript
Estrellas
180
Forks
126
Merge medio
2 d 3 h
PR fusionados (30 d)
3

Descripción

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.