summary refs log tree commit diff
path: root/bundle/.vscode
diff options
context:
space:
mode:
authorMaddy <ty.carlier@gmail.com>2022-01-01 01:15:13 +1100
committerMaddy <ty.carlier@gmail.com>2022-01-01 01:15:13 +1100
commit7820f586b2129a9af03b4a62e9fcf684174ab57d (patch)
tree709b8dbfe15734e09b20f322dd7d10f10c354fbe /bundle/.vscode
parentUpdated stop.ts (diff)
downloadserver-7820f586b2129a9af03b4a62e9fcf684174ab57d.tar.xz
ts-node support. debugging is slightly wonky as vscode will not allow breakpoints in modules that aren't bundle, yet.
Diffstat (limited to 'bundle/.vscode')
-rw-r--r--bundle/.vscode/launch.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/bundle/.vscode/launch.json b/bundle/.vscode/launch.json
index aa4e743a..008c9821 100644
--- a/bundle/.vscode/launch.json
+++ b/bundle/.vscode/launch.json
@@ -5,6 +5,21 @@
 	"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",