summary refs log tree commit diff
path: root/util/.vscode
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-26 00:22:26 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-26 00:22:26 +0200
commit6f16392aa452c07e60ac4775b002c26f02e27609 (patch)
treedba49954cfdf4b673afd17925a5a84d287481bac /util/.vscode
parent:bug: patch modules (diff)
downloadserver-6f16392aa452c07e60ac4775b002c26f02e27609.tar.xz
:sparkles: unit test
Diffstat (limited to 'util/.vscode')
-rw-r--r--util/.vscode/launch.json11
1 files changed, 10 insertions, 1 deletions
diff --git a/util/.vscode/launch.json b/util/.vscode/launch.json
index 07fd32ac..0de6e587 100644
--- a/util/.vscode/launch.json
+++ b/util/.vscode/launch.json
@@ -8,10 +8,19 @@
 			"sourceMaps": true,
 			"type": "node",
 			"request": "launch",
-			"name": "Launch Server",
+			"name": "Launch Util",
 			"program": "${workspaceFolder}/dist/index.js",
 			"preLaunchTask": "tsc: build - tsconfig.json",
 			"outFiles": ["${workspaceFolder}/dist/**/*.js"]
+		},
+		{
+			"name": "Debug Jest Tests",
+			"type": "node",
+			"request": "launch",
+			"runtimeArgs": ["--inspect-brk", "${workspaceRoot}/node_modules/jest/bin/jest.js", "--runInBand"],
+			"console": "integratedTerminal",
+			"internalConsoleOptions": "neverOpen",
+			"port": 9229
 		}
 	]
 }