From 579aaa1d370ad1dd763a74abbf11d1d5864cceea Mon Sep 17 00:00:00 2001 From: Kip Robinson Date: Sat, 24 Sep 2022 09:33:30 -0400 Subject: [PATCH] vscode debug config file --- .vscode/launch.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..c966990 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,38 @@ +{ + // 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": [ + { + "type": "node", + "request": "launch", + "name": "Launch Program", + "skipFiles": [ + "/**" + ], + "program": "${workspaceFolder}\\index.ts", + "preLaunchTask": "tsc: build - tsconfig.json", + "outFiles": [ + "${workspaceFolder}/dist/**/*.js" + ] + }, + { + "type": "node", + "request": "launch", + "name": "Test Program", + "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", + "args": [ + "-r", + "ts-node/register", + "--timeout", + "999999", + "--colors", + "${workspaceFolder}/test/**/*.spec.ts", + ], + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen", + //"protocol": "inspector" + }, + ] +} \ No newline at end of file