From 0ca17a9a39e6d56a6e021ecef5a52d636adf8ef2 Mon Sep 17 00:00:00 2001 From: FMS-Cat Date: Sun, 28 Mar 2021 17:35:13 +0900 Subject: [PATCH] dev: setup chrome debugger --- .vscode/launch.json | 15 +++++++++++++++ tsconfig.json | 1 + 2 files changed, 16 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..7dfe89d --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "pwa-chrome", + "request": "launch", + "name": "Launch Chrome against localhost", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}", + "sourceMapPathOverrides": { + "webpack://revision-2021/*": "${workspaceFolder}/*", + } + } + ] +} diff --git a/tsconfig.json b/tsconfig.json index 9047eb1..90c03ca 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "target": "esnext", "module": "esnext", "strict": true, + "sourceMap": true, "moduleResolution": "node", "skipLibCheck": true, "allowSyntheticDefaultImports": true,