fix(🐞): Debug

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

No files matched your search

+2 -1
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"
},
+2 -1
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"
}
}