|
| 1 | +{ |
| 2 | + // Use IntelliSense to learn about possible attributes. |
| 3 | + // Hover to view descriptions of existing attributes. |
| 4 | + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
| 5 | + "version": "0.2.0", |
| 6 | + "configurations": [ |
| 7 | + { |
| 8 | + "name": "Current TS File", |
| 9 | + "type": "node", |
| 10 | + "request": "launch", |
| 11 | + "runtimeExecutable": "node", |
| 12 | + "args": ["${relativeFile}"], |
| 13 | + "runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"], |
| 14 | + "envFile": "${workspaceFolder}/.env", |
| 15 | + "cwd": "${workspaceRoot}", |
| 16 | + "internalConsoleOptions": "openOnSessionStart", |
| 17 | + "skipFiles": ["<node_internals>/**", "node_modules/**"] |
| 18 | + }, |
| 19 | + { |
| 20 | + "name": "Debug Jest Tests", |
| 21 | + "type": "node", |
| 22 | + "request": "launch", |
| 23 | + "runtimeArgs": [ |
| 24 | + "--inspect-brk", |
| 25 | + "${workspaceRoot}/node_modules/.bin/jest", |
| 26 | + "--runInBand" |
| 27 | + ], |
| 28 | + "envFile": "${workspaceFolder}/.env", |
| 29 | + "console": "integratedTerminal", |
| 30 | + "internalConsoleOptions": "neverOpen", |
| 31 | + "port": 9229, |
| 32 | + "disableOptimisticBPs": true, |
| 33 | + "windows": { |
| 34 | + "program": "${workspaceFolder}/node_modules/jest/bin/jest" |
| 35 | + } |
| 36 | + }, |
| 37 | + { |
| 38 | + "name": "Debug Jest Current File", |
| 39 | + "type": "node", |
| 40 | + "request": "launch", |
| 41 | + "program": "${workspaceFolder}/node_modules/.bin/jest", |
| 42 | + "args": ["${relativeFile}", "--config", "jest.config.js"], |
| 43 | + "console": "integratedTerminal", |
| 44 | + "internalConsoleOptions": "neverOpen", |
| 45 | + "port": 9229, |
| 46 | + "disableOptimisticBPs": true, |
| 47 | + "windows": { |
| 48 | + "program": "${workspaceFolder}/node_modules/jest/bin/jest" |
| 49 | + } |
| 50 | + } |
| 51 | + ] |
| 52 | +} |
0 commit comments