Skip to content

Commit

Permalink
chore: adjust the main process debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
u3u committed Sep 6, 2018
1 parent 33c407e commit 0a866b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"request": "launch",
"name": "Electron Main",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"program": "${workspaceFolder}/src/main/index.js"
"program": "${workspaceFolder}/build/background.js"
}
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "build/bundled/background.js",
"scripts": {
"serve": "vue-cli-service serve:electron",
"serve:debug": "vue-cli-service serve:electron --debug",
"build": "vue-cli-service build:electron",
"lint": "vue-cli-service lint",
"lint:prettier": "prettier-eslint-check \"**/*.{js,jsx,json,ts,tsx,scss,vue,md}\"",
Expand Down

0 comments on commit 0a866b3

Please sign in to comment.