From 00da961a708b7921b0de2f3e4f954cb04f533c28 Mon Sep 17 00:00:00 2001 From: Nautman Date: Thu, 23 Jan 2020 22:45:08 +0100 Subject: [PATCH] Added vscode debugging --- .vscode/launch.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..05ccb17 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,30 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome", + "url": "http://localhost:3000", + "webRoot": "${workspaceFolder}" + }, + { + "type": "node", + "name": "vscode-jest-tests", + "request": "launch", + "args": [ + "test", + "--runInBand" + ], + "cwd": "${workspaceFolder}", + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen", + "disableOptimisticBPs": true, + "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/react-scripts", + "protocol": "inspector" + } + ] +}