diff --git a/.vscode/launch.json b/.vscode/launch.json index 330d34929..0f1de7b8f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -38,6 +38,7 @@ "configurations": [ "run-Admin", "run-API", + "run-Events", "run-EventsProcessor", "run-Identity", "run-Sso", @@ -58,6 +59,7 @@ "configurations": [ "run-Admin-SelfHost", "run-API-SelfHost", + "run-Events-SelfHost", "run-EventsProcessor-SelfHost", "run-Identity-SelfHost", "run-Sso-SelfHost", @@ -76,6 +78,7 @@ "configurations": [ "run-Admin-SelfHost", "run-API-SelfHost", + "run-Events-SelfHost", "run-EventsProcessor-SelfHost", "run-Identity-SelfHost", ], @@ -120,6 +123,17 @@ }, "preLaunchTask": "buildBilling", }, + { + "name": "Events", + "configurations": [ + "run-Events" + ], + "presentation": { + "hidden": false, + "group": "cloud", + }, + "preLaunchTask": "buildEvents", + }, { "name": "Events Processor", "configurations": [ @@ -341,6 +355,25 @@ "/Views": "${workspaceFolder}/Views" } }, + { + "name": "run-Events", + "presentation": { + "hidden": true, + }, + "requireExactSource": true, + "type": "coreclr", + "request": "launch", + "program": "${workspaceFolder}/src/Events/bin/Debug/net8.0/Events.dll", + "args": [], + "cwd": "${workspaceFolder}/src/Events", + "stopAtEntry": false, + "env": { + "ASPNETCORE_ENVIRONMENT": "Development", + }, + "sourceFileMap": { + "/Views": "${workspaceFolder}/Views" + } + }, { "name": "run-EventsProcessor", "presentation": { @@ -505,6 +538,27 @@ "/Views": "${workspaceFolder}/Views" } }, + { + "name": "run-Events-SelfHost", + "presentation": { + "hidden": true, + }, + "requireExactSource": true, + "type": "coreclr", + "request": "launch", + "program": "${workspaceFolder}/src/Events/bin/Debug/net8.0/Events.dll", + "args": [], + "cwd": "${workspaceFolder}/src/Events", + "stopAtEntry": false, + "env": { + "ASPNETCORE_ENVIRONMENT": "Development", + "ASPNETCORE_URLS": "http://localhost:46274", + "developSelfHosted": "true", + }, + "sourceFileMap": { + "/Views": "${workspaceFolder}/Views" + } + }, { "name": "run-EventsProcessor-SelfHost", "presentation": { @@ -519,7 +573,7 @@ "stopAtEntry": false, "env": { "ASPNETCORE_ENVIRONMENT": "Development", - "ASPNETCORE_URLS": "http://localhost:46274", + "ASPNETCORE_URLS": "http://localhost:54103", "developSelfHosted": "true", }, "sourceFileMap": { diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9136f3178..2b003ad9a 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -96,6 +96,18 @@ ], "problemMatcher": "$msCompile" }, + { + "label": "buildEvents", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/src/Events/Events.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, { "label": "buildEventsProcessor", "command": "dotnet",