From ccddfedb7d7c62b7efbc4ce55d96ffd417245800 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Mon, 17 Jul 2023 13:28:06 -0700 Subject: [PATCH] chore: add jest debug configuration --- .vscode/extensions.json | 7 +++++++ .vscode/launch.json | 17 +++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/launch.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..ad0550e8 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "orta.vscode-jest", + "esbenp.prettier-vscode", + "dbaeumer.vscode-eslint" + ] +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..ab40f643 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,17 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Jest Current File", + "runtimeExecutable": "sh", + "program": "node_modules/.bin/jest", + "args": [ + "${relativeFile}" + ], + "console": "integratedTerminal", + "internalConsoleOptions": "openOnFirstSessionStart", + } + ] +}