From b5c590545f4c693b3c0f57375d7ee1f768b98ed9 Mon Sep 17 00:00:00 2001 From: Hazork Date: Mon, 13 Sep 2021 12:14:15 -0300 Subject: [PATCH] chore: vscode tests debug --- .gitignore | 2 +- .vscode/launch.json | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index 15f8d1ab..a2bed908 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ /node_modules /dist /ignore -/.vscode +/.vscode/settings.json /package-lock.json /coverage \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..9a9c34ce --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,20 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Debug Jest Tests", + "type": "node", + "request": "launch", + "runtimeArgs": [ + "--inspect-brk", + "${workspaceRoot}/node_modules/jest/bin/jest.js", + // Linux: + // "${workspaceRoot}/node_modules/.bin/jest", + "--runInBand" + ], + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen", + "port": 9229 + } + ] +}