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

Debugging twice fails #374

Closed
4 tasks done
ffMathy opened this issue May 6, 2024 · 2 comments · Fixed by #376
Closed
4 tasks done

Debugging twice fails #374

ffMathy opened this issue May 6, 2024 · 2 comments · Fixed by #376
Labels
p5-urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority)

Comments

@ffMathy
Copy link
Collaborator

ffMathy commented May 6, 2024

Describe the bug

When I first debug a test, it works just fine. But then when I do it again, I just get a "Debugging failed". This has been existing since the new version of the extension.

Reproduction

No repro yet - but could use advice on how to repro (and where to perhaps insert more log statements?).

Output

[INFO 11:19:36 AM] [DEBUG] Starting debugging on localhost:9229
[INFO 11:19:36 AM] Running 1 file(s) with name pattern: ^\s?Class: CreateVEDTask Use case: Action is always discoverable action is available$
[Worker] Debugger listening on ws://127.0.0.1:9229/936930f0-6b4c-4f66-bf18-93973dbb8cc2
For help, see: https://nodejs.org/en/docs/inspector
[Worker] Debugger attached.
[INFO 11:19:36 AM] [DEBUG] Debugging started
[INFO 11:19:43 AM] Running 1 file(s) with name pattern: ^\s?Class: CreateVEDTask Use case: Action is always discoverable action is available$
[Worker] Debugger listening on ws://127.0.0.1:9229/411c89e3-a316-42da-a4ee-aea9299cdacb
For help, see: https://nodejs.org/en/docs/inspector
[INFO 11:20:03 AM] [DEBUG] Starting debugging on localhost:43631
[INFO 11:20:03 AM] Running 1 file(s) with name pattern: ^\s?Class: CreateVEDTask Use case: Action is always discoverable action is available$
[Error 11:20:13 AM] [DEBUG] Debugging failed

Version

0.10.0

Validations

@ffMathy
Copy link
Collaborator Author

ffMathy commented May 6, 2024

Could use some help on where to insert log statements etc to help diagnose the issue on my repo, and therefore create a better reproduction.

I have no idea where to start.

@sheremet-va sheremet-va added p5-urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority) and removed pending triage labels May 7, 2024
@sheremet-va
Copy link
Member

I am currently rewriting how debugging works (now spawns a separate Vitest instance) - let's see how stable it is.

@github-actions github-actions bot locked and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p5-urgent Fix build-breaking bugs affecting most users, should be released ASAP (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants