firsttris / vscode-jest-runner

Simple way to run or debug one or more tests from context menu, codelens or command plalette
https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner
MIT License
264 stars 124 forks source link

Debugger attached but got killed immediately #307

Open DannySu09 opened 1 year ago

DannySu09 commented 1 year ago

I guess this problem probably isn't caused by vscode-jest-runner itself. But I'm a novice in debugging command line issue and have no idea where to start. I did some google searching but still not managed to solve it.

Environment:

Steps to reproduce:

Click the debug button on one of the tests

image

The command generated by vscode-jest-runner is:

image

The output

Below is the output after I ran a test in debug mode:

Debugger attached.
zsh: killed     /usr/bin/env    node_modules/.bin/jest  -t  --runInBand

Does anyone get caught by the same problem?

aagranovExtend commented 1 year ago

I also will get this if the test is several levels deep when clicking the Debug link.