diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-01-30 19:58:15 +0100 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-01-30 19:58:15 +0100 |
commit | 76000f8fa11dde2f67efdb22a87c4644ea49f9eb (patch) | |
tree | 67664d9c616068113b8fef6704b005726be8f0a7 /.vscode | |
parent | :sparkles: Database (diff) | |
download | server-76000f8fa11dde2f67efdb22a87c4644ea49f9eb.tar.xz |
:sparkles: Util
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/launch.json | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index e4326afa..9d3bb449 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,8 +8,17 @@ "sourceMaps": true, "type": "node", "request": "launch", - "name": "Launch Program", - "program": "${workspaceFolder}/dist/test/db_test.js", + "name": "Launch Server", + "program": "${workspaceFolder}/dist/index.js", + "preLaunchTask": "tsc: build - tsconfig.json", + "outFiles": ["${workspaceFolder}/dist/**/*.js"] + }, + { + "sourceMaps": true, + "type": "node", + "request": "launch", + "name": "Test", + "program": "${workspaceFolder}/dist/test/mongo_test.js", "preLaunchTask": "tsc: build - tsconfig.json", "outFiles": ["${workspaceFolder}/dist/**/*.js"] }, @@ -18,7 +27,9 @@ "program": "${file}", "request": "launch", "skipFiles": ["<node_internals>/**"], - "type": "node" + "runtimeArgs": ["--nolazy", "-r", "ts-node/register/transpile-only"], + "type": "node", + "resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"] } ] } |