diff --git a/.vscode/launch.json b/.vscode/launch.json index 66bac42..decf6a3 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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" }, diff --git a/package.json b/package.json index 15bd814..9e8e4cc 100644 --- a/package.json +++ b/package.json @@ -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" } }