fix(🐞): Debug

This commit is contained in:
草鞋没号 2022-08-24 19:57:19 +08:00
parent 05cdb82d15
commit c84a4d8194
2 changed files with 4 additions and 2 deletions

3
.vscode/launch.json vendored
View File

@ -29,8 +29,9 @@
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
},
"runtimeArgs": [
"--no-sandbox",
"--remote-debugging-port=9229",
"${workspaceRoot}/dist/electron/main/index.js"
"."
],
"envFile": "${workspaceFolder}/.vscode/.debug.env"
},

View File

@ -30,6 +30,7 @@
},
"env": {
"VITE_DEV_SERVER_HOST": "127.0.0.1",
"VITE_DEV_SERVER_PORT": 7777
"VITE_DEV_SERVER_PORT": 7777,
"VITE_DEV_SERVER_URL": "http://127.0.0.1:7777"
}
}