Skip to content

Commit 0a866b3

Browse files
committedSep 6, 2018
chore: adjust the main process debugging
1 parent 33c407e commit 0a866b3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎.vscode/launch.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"request": "launch",
1313
"name": "Electron Main",
1414
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
15-
"program": "${workspaceFolder}/src/main/index.js"
15+
"program": "${workspaceFolder}/build/background.js"
1616
}
1717
]
1818
}

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "build/bundled/background.js",
66
"scripts": {
77
"serve": "vue-cli-service serve:electron",
8+
"serve:debug": "vue-cli-service serve:electron --debug",
89
"build": "vue-cli-service build:electron",
910
"lint": "vue-cli-service lint",
1011
"lint:prettier": "prettier-eslint-check \"**/*.{js,jsx,json,ts,tsx,scss,vue,md}\"",

0 commit comments

Comments
 (0)
Please sign in to comment.