summary refs log tree commit diff
path: root/bundle/.vscode/launch.json
diff options
context:
space:
mode:
Diffstat (limited to 'bundle/.vscode/launch.json')
-rw-r--r--bundle/.vscode/launch.json53
1 files changed, 35 insertions, 18 deletions
diff --git a/bundle/.vscode/launch.json b/bundle/.vscode/launch.json
index aa4e743a..d7129ed8 100644
--- a/bundle/.vscode/launch.json
+++ b/bundle/.vscode/launch.json
@@ -1,18 +1,35 @@
-{
-	// 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,
-			"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"
-		}
-	]
-}
+{

+	"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",

+				"TS_NODE_COMPILER": "typescript-cached-transpile"

+			},

+			"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",

+		}

+	]

+}