Skip to content

Commit 5db8164

Browse files
Merge pull request KelvinTegelaar#1668 from redanthrax/ChromeDebug
added chrome debug launch, task casing/formatting
2 parents 3e4cbf9 + 4927e2b commit 5db8164

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

.vscode/launch.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,29 @@
1010
},
1111
{
1212
"command": "npm run start-swa",
13-
"name": "Run emulator",
13+
"name": "Run Emulator",
1414
"request": "launch",
1515
"type": "node-terminal"
1616
},
1717
{
1818
"command": "npm start",
19-
"name": "Run frontend",
19+
"name": "Run Frontend",
2020
"request": "launch",
2121
"type": "node-terminal",
22-
"preLaunchTask": "RunAllTasks",
22+
"preLaunchTask": "Run All Tasks",
2323
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"]
24+
},
25+
{
26+
"type": "chrome",
27+
"request": "launch",
28+
"name": "Launch Chrome Debugger",
29+
"url": "http://localhost:4280"
2430
}
2531
],
2632
"compounds": [
2733
{
2834
"name": "Launch it all 🚀",
29-
"configurations": ["Run frontend", "Run emulator"]
35+
"configurations": ["Run Frontend", "Run Emulator"]
3036
}
3137
]
3238
}

.vscode/tasks.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"version": "2.0.0",
33
"tasks": [
44
{
5-
"label": "RunAllTasks",
6-
"dependsOn": ["RunAPI", "RunAzurite"]
5+
"label": "Run All Tasks",
6+
"dependsOn": ["Run API", "Run Azurite"]
77
},
88
{
9-
"label": "RunAzurite",
9+
"label": "Run Azurite",
1010
"type": "shell",
1111
"command": "azurite --location ../",
1212
"isBackground": true,
@@ -27,7 +27,7 @@
2727
}
2828
},
2929
{
30-
"label": "RunAPI",
30+
"label": "Run API",
3131
"type": "shell",
3232
"command": "func start --verbose",
3333
"isBackground": true,

0 commit comments

Comments
 (0)