diff options
author | Matthew Miller <matthew@millerti.me> | 2020-12-01 15:13:47 -0800 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-12-01 15:13:47 -0800 |
commit | 8c0a07faf43079229dffbbaf1c05a0bf7948b4ab (patch) | |
tree | ec0bfca083e98130bafed947e6f7232db1a88712 | |
parent | bcc9978ce9f28e223580fca41a206e543bdee09c (diff) |
Update VS Code example server debug config
-rw-r--r-- | .vscode/launch.json | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index f2c9832..66cb9dd 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,17 +5,18 @@ "version": "0.2.0", "configurations": [ { - "type": "node", + "type": "pwa-node", + "name": "Launch Example Server", "request": "launch", - "name": "Launch Program", + "runtimeArgs": [ + "run-script", + "start" + ], + "runtimeExecutable": "npm", "skipFiles": [ "<node_internals>/**" ], "cwd": "${workspaceFolder}/example", - "program": "${workspaceFolder}/example/index.js", - "outFiles": [ - "${workspaceFolder}/**/*.js" - ] } ] } |