1
0
mirror of https://github.com/bitwarden/server synced 2025-12-24 04:03:25 +00:00

Fix launch settings

This commit is contained in:
Matt Gibson
2025-10-09 12:18:54 -07:00
parent f4342e207b
commit d93cd50818
3 changed files with 91 additions and 2 deletions

62
.vscode/launch.json vendored
View File

@@ -204,6 +204,17 @@
}, },
"preLaunchTask": "buildSso", "preLaunchTask": "buildSso",
}, },
{
"name": "Seeder API",
"configurations": [
"run-SeederAPI"
],
"presentation": {
"hidden": false,
"group": "cloud",
},
"preLaunchTask": "buildSeederAPI",
},
{ {
"name": "Admin Self Host", "name": "Admin Self Host",
"configurations": [ "configurations": [
@@ -270,6 +281,17 @@
}, },
"preLaunchTask": "buildSso", "preLaunchTask": "buildSso",
}, },
{
"name": "Seeder API Self Host",
"configurations": [
"run-SeederAPI-SelfHost"
],
"presentation": {
"hidden": false,
"group": "self-host",
},
"preLaunchTask": "buildSeederAPI",
}
], ],
"configurations": [ "configurations": [
// Configurations represent run-only scenarios so that they can be used in multiple compounds // Configurations represent run-only scenarios so that they can be used in multiple compounds
@@ -311,6 +333,25 @@
"/Views": "${workspaceFolder}/Views" "/Views": "${workspaceFolder}/Views"
} }
}, },
{
"name": "run-SeederAPI",
"presentation": {
"hidden": true,
},
"requireExactSource": true,
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/util/SeederApi/bin/Debug/net8.0/SeederApi.dll",
"args": [],
"cwd": "${workspaceFolder}/util/SeederApi",
"stopAtEntry": false,
"env": {
"ASPNETCORE_ENVIRONMENT": "Development",
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{ {
"name": "run-Billing", "name": "run-Billing",
"presentation": { "presentation": {
@@ -488,6 +529,27 @@
"/Views": "${workspaceFolder}/Views" "/Views": "${workspaceFolder}/Views"
} }
}, },
{
"name": "run-SeederAPI-SelfHost",
"presentation": {
"hidden": true,
},
"requireExactSource": true,
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/util/SeederApi/bin/Debug/net8.0/SeederApi.dll",
"args": [],
"cwd": "${workspaceFolder}/util/SeederApi",
"stopAtEntry": false,
"env": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_URLS": "http://localhost:5048",
"developSelfHosted": "true",
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{ {
"name": "run-Admin-SelfHost", "name": "run-Admin-SelfHost",
"presentation": { "presentation": {

19
.vscode/tasks.json vendored
View File

@@ -51,7 +51,7 @@
"buildSso", "buildSso",
"buildIcons", "buildIcons",
"buildBilling", "buildBilling",
"buildNotifications", "buildNotifications"
], ],
}, },
{ {
@@ -186,6 +186,23 @@
"isDefault": true "isDefault": true
} }
}, },
{
"label": "buildSeederAPI",
"hide": true,
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/util/SeederApi/SeederApi.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile",
"group": {
"kind": "build",
"isDefault": true
}
},
{ {
"label": "buildNotifications", "label": "buildNotifications",
"hide": true, "hide": true,

View File

@@ -4,7 +4,7 @@
"windowsAuthentication": false, "windowsAuthentication": false,
"anonymousAuthentication": true, "anonymousAuthentication": true,
"iisExpress": { "iisExpress": {
"applicationUrl": "http://localhost:50467", "applicationUrl": "http://localhost:5047",
"sslPort": 0 "sslPort": 0
} }
}, },
@@ -18,6 +18,16 @@
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }
}, },
"SeederApi-SelfHost": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "http://localhost:5048",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"developSelfHosted": "true"
}
},
"IIS Express": { "IIS Express": {
"commandName": "IISExpress", "commandName": "IISExpress",
"launchBrowser": true, "launchBrowser": true,