Skip to content

Commit a2cfc56

Browse files
committed
Improve debugging setup
1 parent ae1b4ba commit a2cfc56

File tree

1 file changed

+27
-11
lines changed

1 file changed

+27
-11
lines changed

.vscode/launch.json

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,32 @@
11
{
22
"version": "0.2.0",
33
"configurations": [
4-
{
5-
"name": ".NET Core Launch (console)",
6-
"type": "coreclr",
7-
"request": "launch",
8-
"preLaunchTask": "build",
9-
"program": "${workspaceFolder}/src/Api/bin/Debug/net9.0/Api.dll",
10-
"args": [],
11-
"cwd": "${workspaceFolder}/src/api",
12-
"stopAtEntry": false,
13-
"console": "internalConsole"
14-
}
4+
{
5+
"name": "Api (Debug)",
6+
"type": "coreclr",
7+
"request": "launch",
8+
"program": "${workspaceFolder}/src/Api/bin/Debug/net9.0/Api.dll",
9+
"args": [],
10+
"cwd": "${workspaceFolder}/src/api",
11+
"stopAtEntry": false,
12+
"console": "internalConsole",
13+
"justMyCode": true,
14+
},
15+
{
16+
"name": "Api (Debug with Browser)",
17+
"type": "coreclr",
18+
"request": "launch",
19+
"program": "${workspaceFolder}/src/Api/bin/Debug/net9.0/Api.dll",
20+
"args": [],
21+
"cwd": "${workspaceFolder}/src/api",
22+
"stopAtEntry": false,
23+
"console": "internalConsole",
24+
"justMyCode": true,
25+
"serverReadyAction": {
26+
"pattern": "Now listening on: (http?://\\S+)",
27+
"uriFormat": "%s/scalar",
28+
"action": "openExternally"
29+
}
30+
},
1531
]
1632
}

0 commit comments

Comments
 (0)