|
| 1 | +{ |
| 2 | +"version": "0.2.0", |
| 3 | +"configurations": [ |
| 4 | + { |
| 5 | +"type": "node", |
| 6 | +"request": "launch", |
| 7 | +"name": "Debug Jest Tests", |
| 8 | +"program": "${workspaceFolder}/node_modules/jest/bin/jest.js", |
| 9 | +"args": [ |
| 10 | +"--runInBand", |
| 11 | +"--testTimeout", |
| 12 | +"10000" |
| 13 | + ], |
| 14 | +"cwd": "${workspaceFolder}", |
| 15 | +"console": "integratedTerminal", |
| 16 | +"internalConsoleOptions": "neverOpen", |
| 17 | +"disableOptimisticBPs": true |
| 18 | + }, |
| 19 | + { |
| 20 | +"type": "node", |
| 21 | +"request": "launch", |
| 22 | +"name": "Debug Current Test File", |
| 23 | +"program": "${workspaceFolder}/node_modules/jest/bin/jest.js", |
| 24 | +"args": [ |
| 25 | +"--runInBand", |
| 26 | +"--testTimeout", |
| 27 | +"10000", |
| 28 | +"${relativeFile}" |
| 29 | + ], |
| 30 | +"cwd": "${workspaceFolder}", |
| 31 | +"console": "integratedTerminal", |
| 32 | +"internalConsoleOptions": "neverOpen", |
| 33 | +"disableOptimisticBPs": true |
| 34 | + } |
| 35 | + ] |
| 36 | +} |