diff --git a/.vscode/launch.json b/.vscode/launch.json index a18fc61..7ac1152 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,12 +6,11 @@ "type": "node", "request": "launch", "cwd": "${workspaceFolder}", - "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron", - "windows": { - "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd" - }, - "program": "${workspaceRoot}/dist/index.js", - "args" : ["./dist"] + "runtimeExecutable": "npm", + "args": [ + "run", + "start:electron" + ], } ] -} +} \ No newline at end of file diff --git a/main/tsconfig.json b/main/tsconfig.json index 030c9f0..c8ada21 100644 --- a/main/tsconfig.json +++ b/main/tsconfig.json @@ -5,6 +5,7 @@ "rootDir": "./", "outDir": "../dist", "target": "es5", - "moduleResolution": "node" + "moduleResolution": "node", + "sourceMap": true } -} +} \ No newline at end of file