diff --git a/src/main/actions.ts b/src/main/actions.ts index cd3a73a..72ec228 100644 --- a/src/main/actions.ts +++ b/src/main/actions.ts @@ -47,7 +47,11 @@ export const debug: ThunkActionCreator = (app) => async (dispatch) => { const sp = spawn( app.exePath, - [`--inspect=${nodePort}`, `--remote-debugging-port=${windowPort}`], + [ + `--inspect=${nodePort}`, + `--remote-debugging-port=${windowPort}`, + "--remote-allow-origins=devtools://devtools", + ], { cwd: process.platform === "win32" ? path.dirname(app.exePath) : "/", },