This debug button is present when the test fails and this works nice.
Lately I've been writing a lot of tests and some of them were green although they weren't supposed to be. It would be great if the debug button was there when the test was successful.
As a workaround i just add a fail() and wait until the test fails, then i can debug it.
The debug button is missing but i can understand why.

The debug button that i mean:

you can use "jest.debugCodeLens.showWhenTestStateIn": ["fail", "unknown", "pass"] to show debug codelens for passed tests as well.
Were do you think we should add this to the docs @DaniGTA?
Yes! Definitely.
Most helpful comment
you can use
"jest.debugCodeLens.showWhenTestStateIn": ["fail", "unknown", "pass"]to show debug codelens for passed tests as well.