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
265 stars 124 forks source link

Jest Runner Crashes VSCode after debug #327

Open william-wallace-simplisafe opened 1 year ago

william-wallace-simplisafe commented 1 year ago

Jest Runner crashes VSCode 1.81.1 when debug is used on a typescript Jest test.

  1. Select a typescript jest test and click the debug button to invoke a debug session
  2. Cancel the debug session before the test finishes by clicking the stop in the debug controls (it doesn't stop)
  3. The terminal will hang and the debug controls become frozen
  4. Wait about a minute
  5. VSCode crashes

Jest Runner:

Jest Runner v0.4.66
Published
2017-12-29, 15:27:37
Last released
2023-7-26, 00:58:31
Last updated
2023-7-26, 14:56:32
Identifier
firsttris.vscode-jest-runner

VSCode:

Version: 1.81.1 (Universal)
Commit: 6c3e3dba23e8fadc360aed75ce363ba185c49794
Date: 2023-08-09T22:20:33.924Z (1 wk ago)
Electron: 22.3.18
ElectronBuildId: 22689846
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin x64 22.6.0

Related issue filed with VSCode:

VSCode #190671

Workaround: downgrade to 1.80.2:

Here are instructions to downgrade downgrade vscode

william-wallace-simplisafe commented 1 year ago

logs.zip

Ran code --log trace then reproduced the problem. All logs are in the attached logs.zip file

domsleee commented 10 months ago

Hey 👋 , I wasn't able to reproduce this on my m1 mac on 1.83.1

Are there any particular repositories where this happens?

It seems like a problem with VS Code 1.81.1 - it could be a good idea to debug a local build of VS code and see where it's hanging 👍