diff --git a/.vscode/launch.json b/.vscode/launch.json index 326fc67..f1fc9f6 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -14,6 +14,20 @@ "webpack://?:*/*": "${webRoot}/*" }, "preLaunchTask": "npm: dev" + }, + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome against localhost (Windows)", + "url": "http://localhost:5173", + "webRoot": "${workspaceFolder}", + "sourceMaps": true, + "sourceMapPathOverrides": { + "/@fs/*": "${webRoot}/*", + "webpack:///./~/*": "${webRoot}/node_modules/*", + "webpack://?:*/*": "${webRoot}/*" + }, + "preLaunchTask": "npm: dev (Windows)" } ] } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index cc781ad..2bd38c4 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -23,6 +23,29 @@ "endsPattern": "ready in .*ms" } } + }, + { + "type": "npm", + "script": "dev", + "label": "npm: dev (Windows)", + "detail": "vite", + "isBackground": true, + "options": { + "shell": { + "executable": "cmd.exe", + "args": ["/d", "/c"] + } + }, + "problemMatcher": { + "pattern": { + "regexp": "^.*$" + }, + "background": { + "activeOnStart": true, + "beginsPattern": ".*", + "endsPattern": "ready in .*ms" + } + } } ] } \ No newline at end of file