96 references to WithDebugSupport
Aspire.Hosting (2)
ProjectResourceBuilderExtensions.cs (1)
564builder.WithDebugSupport(
ResourceBuilderExtensions.cs (1)
5454return builder.WithDebugSupport(
Aspire.Hosting.Azure.Functions (2)
AzureFunctionsProjectResourceExtensions.cs (2)
241.WithDebugSupport(mode => new AzureFunctionsLaunchConfiguration { ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "azure-functions"); 297functionsBuilder.WithDebugSupport(mode => new AzureFunctionsNodeLaunchConfiguration
Aspire.Hosting.Blazor (1)
BrowserDebuggerHelper.cs (1)
97.WithDebugSupport(
Aspire.Hosting.Dotnet.Tests (6)
DotnetProjectResourceTests.cs (6)
681.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 698.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 743.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 905.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 937.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 967.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom");
Aspire.Hosting.Go (1)
GoHostingExtensions.cs (1)
809builder.WithDebugSupport(
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1752return builder.WithDebugSupport(
Aspire.Hosting.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
2879return builder.WithDebugSupport( 2948.WithDebugSupport(
Aspire.Hosting.Maui (1)
MauiPlatformHelper.cs (1)
32return resourceBuilder.WithDebugSupport(mode => new MauiLaunchConfiguration
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
1026builder.WithDebugSupport(
Aspire.Hosting.Tests (78)
Dcp\DcpExecutorTests.cs (55)
643.WithDebugSupport( 5047projectBuilder.WithDebugSupport(_ => new ProjectLaunchConfiguration 5380builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test"); 5435.WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test") 5571.WithDebugSupport( 5611.WithDebugSupport( 5651.WithDebugSupport( 5695.WithDebugSupport( 5743.WithDebugSupport(ThrowingLaunchConfiguration, "test"); 6299builder.AddResource(executable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6335builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6377builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6413builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6449builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6491builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6533builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 6611.WithDebugSupport( 6808projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 6848projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 6904.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 6964.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 7016.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 7060.WithDebugSupport(mode => new TestMauiLaunchConfiguration 7161projectBuilder.WithDebugSupport( 7296projectBuilder.WithDebugSupport( 7411.WithDebugSupport( 7493.WithDebugSupport( 7608.WithDebugSupport( 7668.WithDebugSupport( 7711.WithDebugSupport(mode => new ExecutableLaunchConfiguration("maui") { Mode = mode }, "maui") 7771projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7798projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7845customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7895customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7943.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8061fileProject.WithDebugSupport( 8107fileProject.WithDebugSupport( 8627.WithDebugSupport(mode => ProjectLaunchConfigurationFactory.Create(resource, mode), KnownLaunchConfigurationTypes.Project); 8691.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project"); 8721.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project") 8814.WithDebugSupport( 8869.WithDebugSupport( 8914.WithDebugSupport( 8973.WithDebugSupport( 9050.WithDebugSupport( 9182.WithDebugSupport( 9219.WithDebugSupport( 9254.WithDebugSupport( 9322.WithDebugSupport( 9413.WithDebugSupport( 9467.WithDebugSupport( 9528.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "/test/path", Mode = mode }, "project"); 9571.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project"); 10982projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 11074projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
DebugSupportExtensionsTests.cs (9)
157.WithDebugSupport(mode => new ProjectLaunchConfiguration 176.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode, Package = "./cmd/api" }, "go"); 258.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode }, "go"); 315executable.WithDebugSupport( 329.WithDebugSupport(_ => (TestGoLaunchConfiguration)null!, "go"); 353.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode }, "go"); 415.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode }, "go"); 429.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode }, "go"); 486.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode }, "go");
ExecutableResourceBuilderExtensionTests.cs (14)
111.WithDebugSupport(_ => launchConfig, "ms-python.python"); 132.WithDebugSupport(_ => new ExecutableLaunchConfiguration("python"), "ms-python.python"); 143.WithDebugSupport(mode => new ExecutableLaunchConfiguration("go") { Mode = mode }, "go"); 174() => executable.WithDebugSupport(mode => Task.FromResult(new ExecutableLaunchConfiguration("go") { Mode = mode }), "go")); 187() => executable.WithDebugSupport(mode => ValueTask.FromResult(new ExecutableLaunchConfiguration("go") { Mode = mode }), "go")); 203.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 255.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 286.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go") 318.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 336.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go") 337.WithDebugSupport(_ => new ExecutableLaunchConfiguration("project"), "project"); 358.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 374.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 396.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go")
ProjectResourceExtensions.AppHost (1)
AppHost.cs (1)
38.WithDebugSupport(