summary refs log tree commit diff
path: root/bundle/.vscode
diff options
context:
space:
mode:
authorMadeline <maddyunderstars@gmail.com>2022-01-03 22:33:14 +1100
committerMadeline <maddyunderstars@gmail.com>2022-01-03 22:35:18 +1100
commita396a41a0e215290806c297bcab601ed47972927 (patch)
treeb319750967a5dbe13fe15e411fa4be5728f667d6 /bundle/.vscode
parentMerge branch 'fosscord:master' into master (diff)
downloadserver-a396a41a0e215290806c297bcab601ed47972927.tar.xz
Cleaned up tsconfig.json a bit ( moved tsnode config to own file ).
Fixed breakpoints for all modules under tsnode
Diffstat (limited to 'bundle/.vscode')
-rw-r--r--bundle/.vscode/launch.json70
1 files changed, 37 insertions, 33 deletions
diff --git a/bundle/.vscode/launch.json b/bundle/.vscode/launch.json

index 008c9821..4f7c73c9 100644 --- a/bundle/.vscode/launch.json +++ b/bundle/.vscode/launch.json
@@ -1,33 +1,37 @@ -{ - // 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": [ - { - "name": "ts-node", - "type": "node", - "request": "launch", - "args": [ - "${workspaceFolder}/src/start.ts" - ], - "runtimeArgs": [ - "-r", - "ts-node/register" - ], - "cwd": "${workspaceRoot}", - "protocol": "inspector", - "internalConsoleOptions": "openOnSessionStart" - }, - { - "sourceMaps": true, - "type": "node", - "request": "launch", - "name": "Launch Server", - "program": "${workspaceFolder}/dist/bundle/src/start.js", - "preLaunchTask": "tsc: build - tsconfig.json", - "outFiles": ["${workspaceFolder}/dist/**/*.js"], - "envFile": "${workspaceFolder}/.env" - } - ] -} +{ + // 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": [ + { + "sourceMaps": true, + "name": "ts-node", + "type": "node", + "request": "launch", + "args": [ + "${workspaceFolder}/src/start.ts" + ], + "runtimeArgs": [ + "-r", + "ts-node/register" + ], + "protocol": "inspector", + "internalConsoleOptions": "openOnSessionStart", + "env": { + "TS_NODE_PROJECT": "${workspaceFolder}/tsnode.tsconfig.json", + }, + "resolveSourceMapLocations": null, /* allow breakpoints in modules other than bundle */ + }, + { + "sourceMaps": true, + "type": "node", + "request": "launch", + "name": "Launch Server", + "program": "${workspaceFolder}/dist/bundle/src/start.js", + "preLaunchTask": "tsc: build - tsconfig.json", + "outFiles": ["${workspaceFolder}/dist/**/*.js"], + "envFile": "${workspaceFolder}/.env", + } + ] +}