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

Option to debug test missing from gutter #1200

Open
WilcoKruijer opened this issue Oct 31, 2024 · 0 comments
Open

Option to debug test missing from gutter #1200

WilcoKruijer opened this issue Oct 31, 2024 · 0 comments

Comments

@WilcoKruijer
Copy link

Describe the bug

The play button that shows up in the gutter when a file contains a test does not have the option to debug the tests. Because of this, it's impossible to debug tests this way. This also holds true for going to the "testing" tab in the side panel.

Workaround
Enabling the (deprecated) deno.codeLens.test option will make "Run test | Debug" show up as code lens. Using this debug button works perfectly.

To Reproduce

  1. Go to a file containing a test, scroll to the test
  2. Right click the gutter play button
  3. Notice there is no option to debug the test.

Expected behavior

There should be an option to debug the test, so that breakpoints are hit.

Screenshots

This is a screenshot of Vitest, showing the "debug test" options.

https://github.com/vitest-dev/vscode/raw/main/img/vitest-test-file.png

Versions

vscode: v1.95.0 deno: v2.0.4 extension: v3.42.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant