From 0d55b09677e9e8da0e0fb242c664e6abade5efb4 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Sun, 2 Aug 2020 23:41:05 +0200 Subject: [PATCH] Add vscode debug configuration --- .vscode/launch.json | 21 +++++++++++++++++++++ .vscode/settings.json | 3 ++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..3813711 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,21 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Registry", + "type": "node", + "request": "launch", + "cwd": "${workspaceFolder}/registry", + "runtimeExecutable": "deno", + "runtimeArgs": [ + "run", + "--inspect-brk", + "-A", + "--unstable", + "src/registry.ts" + ], + "port": 9229, + "outputCapture": "std" + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 8413774..6aa5454 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,5 @@ { "deno.enable": true, - "deno.unstable": true + "deno.unstable": true, + "debug.javascript.usePreview": false }