Skip to content

Commit abd2d4b

Browse files
committed
Fix launch settings
1 parent f4342e2 commit abd2d4b

3 files changed

Lines changed: 92 additions & 2 deletions

File tree

.vscode/launch.json

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"run-Sso",
6060
"run-Icons",
6161
"run-Billing",
62-
"run-Notifications"
62+
"run-Notifications",
6363
],
6464
"presentation": {
6565
"hidden": false,
@@ -204,6 +204,17 @@
204204
},
205205
"preLaunchTask": "buildSso",
206206
},
207+
{
208+
"name": "Seeder API",
209+
"configurations": [
210+
"run-SeederAPI"
211+
],
212+
"presentation": {
213+
"hidden": false,
214+
"group": "cloud",
215+
},
216+
"preLaunchTask": "buildSeederAPI",
217+
},
207218
{
208219
"name": "Admin Self Host",
209220
"configurations": [
@@ -270,6 +281,17 @@
270281
},
271282
"preLaunchTask": "buildSso",
272283
},
284+
{
285+
"name": "Seeder API Self Host",
286+
"configurations": [
287+
"run-SeederAPI-SelfHost"
288+
],
289+
"presentation": {
290+
"hidden": false,
291+
"group": "self-host",
292+
},
293+
"preLaunchTask": "buildSeederAPI",
294+
}
273295
],
274296
"configurations": [
275297
// Configurations represent run-only scenarios so that they can be used in multiple compounds
@@ -311,6 +333,25 @@
311333
"/Views": "${workspaceFolder}/Views"
312334
}
313335
},
336+
{
337+
"name": "run-SeederAPI",
338+
"presentation": {
339+
"hidden": true,
340+
},
341+
"requireExactSource": true,
342+
"type": "coreclr",
343+
"request": "launch",
344+
"program": "${workspaceFolder}/util/SeederApi/bin/Debug/net8.0/SeederApi.dll",
345+
"args": [],
346+
"cwd": "${workspaceFolder}/util/SeederApi",
347+
"stopAtEntry": false,
348+
"env": {
349+
"ASPNETCORE_ENVIRONMENT": "Development",
350+
},
351+
"sourceFileMap": {
352+
"/Views": "${workspaceFolder}/Views"
353+
}
354+
},
314355
{
315356
"name": "run-Billing",
316357
"presentation": {
@@ -488,6 +529,27 @@
488529
"/Views": "${workspaceFolder}/Views"
489530
}
490531
},
532+
{
533+
"name": "run-SeederAPI-SelfHost",
534+
"presentation": {
535+
"hidden": true,
536+
},
537+
"requireExactSource": true,
538+
"type": "coreclr",
539+
"request": "launch",
540+
"program": "${workspaceFolder}/util/SeederApi/bin/Debug/net8.0/SeederApi.dll",
541+
"args": [],
542+
"cwd": "${workspaceFolder}/util/SeederApi",
543+
"stopAtEntry": false,
544+
"env": {
545+
"ASPNETCORE_ENVIRONMENT": "Development",
546+
"ASPNETCORE_URLS": "http://localhost:5048",
547+
"developSelfHosted": "true",
548+
},
549+
"sourceFileMap": {
550+
"/Views": "${workspaceFolder}/Views"
551+
}
552+
},
491553
{
492554
"name": "run-Admin-SelfHost",
493555
"presentation": {

.vscode/tasks.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"buildIcons",
5353
"buildBilling",
5454
"buildNotifications",
55+
"buildSeederAPI"
5556
],
5657
},
5758
{
@@ -186,6 +187,23 @@
186187
"isDefault": true
187188
}
188189
},
190+
{
191+
"label": "buildSeederAPI",
192+
"hide": true,
193+
"command": "dotnet",
194+
"type": "process",
195+
"args": [
196+
"build",
197+
"${workspaceFolder}/util/SeederApi/SeederApi.csproj",
198+
"/property:GenerateFullPaths=true",
199+
"/consoleloggerparameters:NoSummary"
200+
],
201+
"problemMatcher": "$msCompile",
202+
"group": {
203+
"kind": "build",
204+
"isDefault": true
205+
}
206+
},
189207
{
190208
"label": "buildNotifications",
191209
"hide": true,

util/SeederApi/Properties/launchSettings.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"windowsAuthentication": false,
55
"anonymousAuthentication": true,
66
"iisExpress": {
7-
"applicationUrl": "http://localhost:50467",
7+
"applicationUrl": "http://localhost:5047",
88
"sslPort": 0
99
}
1010
},
@@ -18,6 +18,16 @@
1818
"ASPNETCORE_ENVIRONMENT": "Development"
1919
}
2020
},
21+
"SeederApi-SelfHost": {
22+
"commandName": "Project",
23+
"dotnetRunMessages": true,
24+
"launchBrowser": true,
25+
"applicationUrl": "http://localhost:5048",
26+
"environmentVariables": {
27+
"ASPNETCORE_ENVIRONMENT": "Development",
28+
"developSelfHosted": "true"
29+
}
30+
},
2131
"IIS Express": {
2232
"commandName": "IISExpress",
2333
"launchBrowser": true,

0 commit comments

Comments
 (0)