fix(🐞): Debug
This commit is contained in:
parent
05cdb82d15
commit
c84a4d8194
|
@ -29,8 +29,9 @@
|
||||||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
||||||
},
|
},
|
||||||
"runtimeArgs": [
|
"runtimeArgs": [
|
||||||
|
"--no-sandbox",
|
||||||
"--remote-debugging-port=9229",
|
"--remote-debugging-port=9229",
|
||||||
"${workspaceRoot}/dist/electron/main/index.js"
|
"."
|
||||||
],
|
],
|
||||||
"envFile": "${workspaceFolder}/.vscode/.debug.env"
|
"envFile": "${workspaceFolder}/.vscode/.debug.env"
|
||||||
},
|
},
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
},
|
},
|
||||||
"env": {
|
"env": {
|
||||||
"VITE_DEV_SERVER_HOST": "127.0.0.1",
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue