From 35daa9718810c7a09c344d88c032135ad4aa6886 Mon Sep 17 00:00:00 2001 From: Pavel Prichodko <14926950+prichodko@users.noreply.github.com> Date: Sun, 29 May 2022 16:52:34 +0200 Subject: [PATCH] setup: add launch.json --- .prettierignore | 1 - .vscode/launch.json | 23 +++++++++++++++++++++++ .vscode/settings.json | 4 ++-- 3 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.prettierignore b/.prettierignore index 63fd7fbe..d6014446 100644 --- a/.prettierignore +++ b/.prettierignore @@ -2,5 +2,4 @@ **/node_modules .parcel-cache .github -.vscode **/protos diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..baf3da5f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,23 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Launch status-js", + "program": "${workspaceFolder}/packages/status-js/src/index.ts", + "preLaunchTask": "npm: build:status-js", + "outFiles": ["${workspaceFolder}/packages/status-js/dist/index.js"], + "sourceMaps": true, + "smartStep": true, + "internalConsoleOptions": "openOnSessionStart", + "skipFiles": [ + "${workspaceFolder}/node_modules/**/*", + "/**/*.js" + ], + "sourceMapPathOverrides": { + "packages/status-js/*": "${workspaceFolder}/packages/status-js/*" + } + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 55712c19..25fa6215 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "typescript.tsdk": "node_modules/typescript/lib" -} \ No newline at end of file + "typescript.tsdk": "node_modules/typescript/lib" +}