summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-07-11 00:31:59 -0700
committerMatthew Miller <matthew@millerti.me>2020-07-11 00:31:59 -0700
commit6fd5f09a5914eb343296fa6e36bf24ee30af36b1 (patch)
treeb7ce3138c529bd96db8bacec212c4b4aae0beaa0
parent90410584efaef5ec604705f616ce5f41b4390d86 (diff)
Set up some VS Code debugging + tasks
-rw-r--r--.vscode/launch.json21
-rw-r--r--.vscode/tasks.json16
2 files changed, 37 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..f2c9832
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,21 @@
+{
+ // 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": [
+ "<node_internals>/**"
+ ],
+ "cwd": "${workspaceFolder}/example",
+ "program": "${workspaceFolder}/example/index.js",
+ "outFiles": [
+ "${workspaceFolder}/**/*.js"
+ ]
+ }
+ ]
+}
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 0000000..b4d50a8
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,16 @@
+{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "type": "npm",
+ "script": "build:server",
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ },
+ "problemMatcher": [],
+ "label": "npm: build:server",
+ "detail": "lerna bootstrap --scope=@simplewebauthn/server"
+ }
+ ]
+}