From 5a974611ec5204b68ae87228da958c9532a8f7b0 Mon Sep 17 00:00:00 2001 From: Enngage Date: Mon, 10 Feb 2020 12:26:58 +0100 Subject: [PATCH] feat: adds debug profiles --- .vscode/launch.json | 56 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..f3ec465 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,56 @@ +{ + // 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": "Test backup", + "program": "${workspaceFolder}\\src\\cli\\app.ts", + "preLaunchTask": "npm: build:all", + "sourceMaps": true, + "smartStep": true, + "args": [ + "--config", "./output/backup-config.json", + ], + "internalConsoleOptions": "openOnSessionStart", + "outFiles": [ + "${workspaceFolder}/_commonjs/**/*.js" + ] + }, + { + "type": "node", + "request": "launch", + "name": "Test clean", + "program": "${workspaceFolder}\\src\\cli\\app.ts", + "preLaunchTask": "npm: build:all", + "sourceMaps": true, + "smartStep": true, + "args": [ + "--config", "./output/clean-config.json", + ], + "internalConsoleOptions": "openOnSessionStart", + "outFiles": [ + "${workspaceFolder}/_commonjs/**/*.js" + ] + }, + { + "type": "node", + "request": "launch", + "name": "Test resotre", + "program": "${workspaceFolder}\\src\\cli\\app.ts", + "preLaunchTask": "npm: build:all", + "sourceMaps": true, + "smartStep": true, + "args": [ + "--config", "./output/restore-config.json", + ], + "internalConsoleOptions": "openOnSessionStart", + "outFiles": [ + "${workspaceFolder}/_commonjs/**/*.js" + ] + } + ] +} \ No newline at end of file