-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: config files for debug in vscode
- Loading branch information
Showing
3 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Electron: Main", | ||
"type": "node", | ||
"request": "launch", | ||
"protocol": "inspector", | ||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron", | ||
"windows": { | ||
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd" | ||
}, | ||
"preLaunchTask": "electron-debug", | ||
"args": ["--remote-debugging-port=9223", "./dist_electron"], | ||
"outFiles": ["${workspaceFolder}/dist_electron/**/*.js"] | ||
}, | ||
{ | ||
"name": "Electron: Renderer", | ||
"type": "chrome", | ||
"request": "attach", | ||
"port": 9223, | ||
"urlFilter": "http://localhost:*", | ||
"timeout": 30000, | ||
"webRoot": "${workspaceFolder}/src", | ||
"sourceMapPathOverrides": { | ||
"webpack:///./src/*": "${webRoot}/*" | ||
} | ||
} | ||
], | ||
"compounds": [ | ||
{ | ||
"name": "Electron: All", | ||
"configurations": ["Electron: Main", "Electron: Renderer"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "electron-debug", | ||
"type": "process", | ||
"command": "./node_modules/.bin/vue-cli-service", | ||
"windows": { | ||
"command": "./node_modules/.bin/vue-cli-service.cmd" | ||
}, | ||
"isBackground": true, | ||
"args": ["electron:serve", "--debug"], | ||
"problemMatcher": { | ||
"owner": "custom", | ||
"pattern": { | ||
"regexp": "" | ||
}, | ||
"background": { | ||
"beginsPattern": "Starting development server\\.\\.\\.", | ||
"endsPattern": "Not launching electron as debug argument was passed\\." | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters