diff options
Diffstat (limited to '.vscode/launch.json')
-rw-r--r-- | .vscode/launch.json | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index 8bd51ee6..a334a1da 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,14 +2,18 @@ "version": "0.2.0", "configurations": [ { - "name": "Chrome", - "type": "chrome", + "name": "npm start", "request": "launch", - "url": "http://localhost:3000", - "webRoot": "${workspaceFolder}/src", - "sourceMapPathOverrides": { - "webpack:///src/*": "${webRoot}/*" - } + "runtimeArgs": ["start"], + "runtimeExecutable": "npm", + "type": "node" + }, + { + "name": "npm run build", + "request": "launch", + "runtimeArgs": ["run", "build"], + "runtimeExecutable": "npm", + "type": "node" } ] } |