-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat/ VSCode : add Debugging config for man process (#465) + Karma
- Loading branch information
Maxime GRIS
committed
May 2, 2020
1 parent
92eb8ec
commit acc62d9
Showing
5 changed files
with
73 additions
and
9 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 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Electron Main Renderer", | ||
"type": "node", | ||
"request": "launch", | ||
"protocol": "inspector", | ||
// Prelaunch task compiles main.ts for Electron & starts Angular dev server. | ||
"preLaunchTask": "Build.All", | ||
"cwd": "${workspaceFolder}", | ||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron", | ||
"runtimeArgs": [ | ||
"--serve", | ||
".", | ||
"--remote-debugging-port=9222" | ||
], | ||
"windows": { | ||
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd" | ||
} | ||
}, { | ||
"name": "Karma Attach Chrome", | ||
"type": "chrome", | ||
"request": "attach", | ||
"port": 9222, | ||
"webRoot": "${workspaceFolder}/", | ||
"sourceMaps": true, | ||
"timeout": 30000, | ||
"trace": true | ||
} | ||
|
||
] | ||
} |
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 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Build.All", | ||
"type": "shell", | ||
"command": "npm run electron:serve-tsc && ng serve", | ||
"isBackground": true, | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"problemMatcher": { | ||
"owner": "typescript", | ||
"source": "ts", | ||
"applyTo": "closedDocuments", | ||
"fileLocation": ["relative", "${cwd}"], | ||
"pattern": "$tsc", | ||
"background": { | ||
"activeOnStart": true, | ||
"beginsPattern": "^.*", | ||
"endsPattern": "^.*Compiled successfully.*" | ||
} | ||
} | ||
} | ||
] | ||
} |
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
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
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