Skip to content

Commit c6f978a

Browse files
authored
Add Aspire vscode launch configuration (#7)
1 parent f8cfedc commit c6f978a

2 files changed

Lines changed: 6 additions & 48 deletions

File tree

.vscode/launch.json

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,14 @@
11
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
25
"version": "0.2.0",
36
"configurations": [
47
{
5-
"name": ".NET Core Launch (console)",
6-
"type": "coreclr",
8+
"name": "C#: Aspire.AppHost [Default Configuration]",
9+
"type": "dotnet",
710
"request": "launch",
8-
"preLaunchTask": "build",
9-
"program": "${workspaceFolder}/src/Aspire/Aspire.AppHost/bin/Debug/net9.0/Aspire.AppHost.dll",
10-
"args": [],
11-
"cwd": "${workspaceFolder}/src/Aspire/Aspire.AppHost",
12-
"console": "internalConsole",
13-
"stopAtEntry": false,
14-
"launchBrowser": {
15-
"enabled": true,
16-
"args": "${auto-detect-url}",
17-
"windows": {
18-
"command": "cmd.exe",
19-
"args": "/C start ${auto-detect-url}"
20-
},
21-
"osx": {
22-
"command": "open"
23-
},
24-
"linux": {
25-
"command": "xdg-open"
26-
}
27-
},
28-
"serverReadyAction": {
29-
"action": "openExternally",
30-
"pattern": "^\\S+:(?<port>\\d+)$"
31-
}
32-
},
33-
{
34-
"name": ".NET Core Attach",
35-
"type": "coreclr",
36-
"request": "attach"
11+
"projectPath": "${workspaceFolder}/src/Aspire/Aspire.AppHost/Aspire.AppHost.csproj"
3712
}
3813
]
3914
}

.vscode/tasks.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)