Skip to content

Commit

Permalink
Merge pull request KelvinTegelaar#1668 from redanthrax/ChromeDebug
Browse files Browse the repository at this point in the history
added chrome debug launch, task casing/formatting
  • Loading branch information
KelvinTegelaar committed Aug 2, 2023
2 parents 3e4cbf9 + 4927e2b commit 5db8164
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
14 changes: 10 additions & 4 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,29 @@
},
{
"command": "npm run start-swa",
"name": "Run emulator",
"name": "Run Emulator",
"request": "launch",
"type": "node-terminal"
},
{
"command": "npm start",
"name": "Run frontend",
"name": "Run Frontend",
"request": "launch",
"type": "node-terminal",
"preLaunchTask": "RunAllTasks",
"preLaunchTask": "Run All Tasks",
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"]
},
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome Debugger",
"url": "http://localhost:4280"
}
],
"compounds": [
{
"name": "Launch it all 🚀",
"configurations": ["Run frontend", "Run emulator"]
"configurations": ["Run Frontend", "Run Emulator"]
}
]
}
8 changes: 4 additions & 4 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"version": "2.0.0",
"tasks": [
{
"label": "RunAllTasks",
"dependsOn": ["RunAPI", "RunAzurite"]
"label": "Run All Tasks",
"dependsOn": ["Run API", "Run Azurite"]
},
{
"label": "RunAzurite",
"label": "Run Azurite",
"type": "shell",
"command": "azurite --location ../",
"isBackground": true,
Expand All @@ -27,7 +27,7 @@
}
},
{
"label": "RunAPI",
"label": "Run API",
"type": "shell",
"command": "func start --verbose",
"isBackground": true,
Expand Down

0 comments on commit 5db8164

Please sign in to comment.