Juri Sinitson
Jun 23, 2021

Unfortunately did not work for me. Breakpoints are skipped. So I solved that by calling jest directly by the same principle with this configuration:

```json

{

"type": "node",

"request": "launch",

"name": "Jest: Run Current File",

"program": "${workspaceFolder}/node_modules/.bin/jest",

"args": [

"my-file.spec.ts"

],

"console": "integratedTerminal",

"internalConsoleOptions": "neverOpen",

"disableOptimisticBPs": true,

"windows": {

"program": "${workspaceFolder}/node_modules/jest/bin/jest",

}}

```

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response