93 references to WithDebugSupport
Aspire.Hosting (1)
ProjectResourceBuilderExtensions.cs (1)
507builder.WithDebugSupport(
Aspire.Hosting.Azure.Functions (1)
AzureFunctionsProjectResourceExtensions.cs (1)
193.WithDebugSupport(mode => new AzureFunctionsLaunchConfiguration { ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "azure-functions");
Aspire.Hosting.Blazor (1)
BrowserDebuggerHelper.cs (1)
97.WithDebugSupport(
Aspire.Hosting.Dotnet.Tests (6)
DotnetProjectResourceTests.cs (6)
601.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 618.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 663.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 749.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 781.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 811.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom");
Aspire.Hosting.Go (1)
GoHostingExtensions.cs (1)
737return builder.WithDebugSupport(
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1755return builder.WithDebugSupport(
Aspire.Hosting.JavaScript (3)
JavaScriptHostingExtensions.cs (3)
2166return builder.WithDebugSupport( 2201return builder.WithDebugSupport( 2270.WithDebugSupport(
Aspire.Hosting.Maui (1)
MauiPlatformHelper.cs (1)
32return resourceBuilder.WithDebugSupport(mode => new MauiLaunchConfiguration
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
941builder.WithDebugSupport(
Aspire.Hosting.Tests (76)
Dcp\DcpExecutorTests.cs (53)
290.WithDebugSupport( 4327projectBuilder.WithDebugSupport(_ => new ProjectLaunchConfiguration 4660builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test"); 4715.WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test") 4851.WithDebugSupport( 4891.WithDebugSupport( 4931.WithDebugSupport( 4975.WithDebugSupport( 5023.WithDebugSupport(ThrowingLaunchConfiguration, "test"); 5579builder.AddResource(executable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5615builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5657builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5693builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5729builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5771builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5813builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 5891.WithDebugSupport( 6088projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 6128projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 6184.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 6244.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 6296.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 6340.WithDebugSupport(mode => new TestMauiLaunchConfiguration 6441projectBuilder.WithDebugSupport( 6576projectBuilder.WithDebugSupport( 6691.WithDebugSupport( 6773.WithDebugSupport( 6888.WithDebugSupport( 6948.WithDebugSupport( 6991.WithDebugSupport(mode => new ExecutableLaunchConfiguration("maui") { Mode = mode }, "maui") 7051projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7078projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7125customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7175customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7223.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7849.WithDebugSupport(mode => ProjectLaunchConfigurationFactory.Create(resource, mode), KnownLaunchConfigurationTypes.Project); 7913.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project"); 7943.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project") 8036.WithDebugSupport( 8091.WithDebugSupport( 8136.WithDebugSupport( 8195.WithDebugSupport( 8272.WithDebugSupport( 8404.WithDebugSupport( 8441.WithDebugSupport( 8476.WithDebugSupport( 8544.WithDebugSupport( 8635.WithDebugSupport( 8689.WithDebugSupport( 8750.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "/test/path", Mode = mode }, "project"); 8793.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project"); 9698projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 9790projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
DebugSupportExtensionsTests.cs (9)
145.WithDebugSupport(mode => new ProjectLaunchConfiguration 164.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode, Package = "./cmd/api" }, "go"); 246.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode }, "go"); 303executable.WithDebugSupport( 317.WithDebugSupport(_ => (TestGoLaunchConfiguration)null!, "go"); 341.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode }, "go"); 365.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode }, "go"); 379.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode }, "go"); 428.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode }, "go");
ExecutableResourceBuilderExtensionTests.cs (14)
96.WithDebugSupport(_ => launchConfig, "ms-python.python"); 117.WithDebugSupport(_ => new ExecutableLaunchConfiguration("python"), "ms-python.python"); 128.WithDebugSupport(mode => new ExecutableLaunchConfiguration("go") { Mode = mode }, "go"); 159() => executable.WithDebugSupport(mode => Task.FromResult(new ExecutableLaunchConfiguration("go") { Mode = mode }), "go")); 172() => executable.WithDebugSupport(mode => ValueTask.FromResult(new ExecutableLaunchConfiguration("go") { Mode = mode }), "go")); 188.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 240.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 271.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go") 303.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 321.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go") 322.WithDebugSupport(_ => new ExecutableLaunchConfiguration("project"), "project"); 343.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 359.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go"); 381.WithDebugSupport(_ => new ExecutableLaunchConfiguration("go"), "go")
ProjectResourceExtensions.AppHost (1)
AppHost.cs (1)
35.WithDebugSupport(