Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest timeout respected when breakpoint is hit #492

Open
silamon opened this issue Oct 26, 2024 · 0 comments
Open

pytest timeout respected when breakpoint is hit #492

silamon opened this issue Oct 26, 2024 · 0 comments
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@silamon
Copy link

silamon commented Oct 26, 2024

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

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants