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