From cbecd75547dae32b88eed3d80636b846f56b7992 Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Tue, 24 Jun 2025 18:02:44 +0200 Subject: [PATCH] refactor: add vscode launch json --- .gitignore | 3 ++- .vscode/launch.json | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index d7808117..32bacfad 100644 --- a/.gitignore +++ b/.gitignore @@ -98,7 +98,8 @@ typings/ # ignore ide files .idea -.vscode +.vscode?* +!.vscode/launch.json # ignore lib lib diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..e814c128 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,16 @@ +{ + // 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": "Run mocha for nodejs workspace", + "runtimeExecutable": "${fileDirname}/../node_modules/.bin/c8", + "cwd": "${fileDirname}/../", + "runtimeArgs": ["--config", "${workspaceFolder}/.c8rc.json", "${fileDirname}/../node_modules/.bin/mocha", "--exit", "--reporter", "spec"] + }, + ] +} \ No newline at end of file