Vscode-jest: Question: Is it possible to always show the DEBUG button even if the test is passing?

Created on 30 Apr 2019  路  3Comments  路  Source: jest-community/vscode-jest

Most helpful comment

I did this by adding

  "jest.debugCodeLens.showWhenTestStateIn": [
    "skip",
    "pass",
    "fail",
    "unknown"
  ]

to my .vscode/settings.json.
Took a bit of looking around and I finally found it by clicking the cogwheel as shown below below and then Copy Setting as JSON, in User Settings, search for Jest:
image

All 3 comments

I did this by adding

  "jest.debugCodeLens.showWhenTestStateIn": [
    "skip",
    "pass",
    "fail",
    "unknown"
  ]

to my .vscode/settings.json.
Took a bit of looking around and I finally found it by clicking the cogwheel as shown below below and then Copy Setting as JSON, in User Settings, search for Jest:
image

That's exactly the way it is supposed to work.

Thanks @eghernqvist !

Was this page helpful?
0 / 5 - 0 ratings