diff --git a/.vscode/launch.json b/.vscode/launch.json index d74d84b054..6a0598df15 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,24 +7,13 @@ "request": "launch", "cwd": "${workspaceFolder}", "runtimeExecutable": "pnpm", - "args": ["start"] - }, - { - "name": "Debug Main Process", - "type": "node", - "request": "launch", - "cwd": "${workspaceRoot}", - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite", - "windows": { - "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron-vite.cmd" - }, - "runtimeArgs": ["--sourcemap"], + "args": ["start"], "env": { "REMOTE_DEBUGGING_PORT": "9222" } }, { - "name": "Debug Renderer Process", + "name": "Debug Frontend Process", "port": 9222, "request": "attach", "type": "chrome", @@ -38,7 +27,7 @@ "compounds": [ { "name": "Debug All", - "configurations": ["Debug Main Process", "Debug Renderer Process"], + "configurations": ["Launch Heroic (HMR & HR)", "Debug Frontend Process"], "presentation": { "order": 1 }