|
|
|
@ -18,7 +18,7 @@ internal sealed class ConnectedPlatformService : BackgroundService
|
|
|
|
|
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
|
|
|
|
|
{
|
|
|
|
|
if (GlobalConfig.GetValue<bool>("waitForDebugger"))
|
|
|
|
|
while (!Debugger.IsAttached)
|
|
|
|
|
while (!Debugger.IsAttached && !stoppingToken.IsCancellationRequested)
|
|
|
|
|
await Task.Delay(500);
|
|
|
|
|
|
|
|
|
|
await DependencyLoader.LoadPackages(Config.MicroServices, Config.Repositories);
|
|
|
|
|