103 references to WithDebugSupport
Aspire.Hosting (2)
ProjectResourceBuilderExtensions.cs (1)
562builder.WithDebugSupport(
ResourceBuilderExtensions.cs (1)
5503return 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)
710.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 727.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 772.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 934.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 966.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom"); 996.WithDebugSupport(_ => new ExecutableLaunchConfiguration("custom"), "custom");
Aspire.Hosting.Go (1)
GoHostingExtensions.cs (1)
770builder.WithDebugSupport(
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1760return builder.WithDebugSupport(
Aspire.Hosting.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
2866return builder.WithDebugSupport( 2935.WithDebugSupport(
Aspire.Hosting.Maui (1)
MauiPlatformHelper.cs (1)
31return resourceBuilder.WithDebugSupport(mode => new MauiLaunchConfiguration
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
1000builder.WithDebugSupport(
Aspire.Hosting.Tests (85)
Dcp\DcpExecutorTests.cs (59)
688.WithDebugSupport( 5655projectBuilder.WithDebugSupport(_ => new ProjectLaunchConfiguration 5988builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test"); 6043.WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test") 6258.WithDebugSupport( 6298.WithDebugSupport( 6338.WithDebugSupport( 6382.WithDebugSupport( 6430.WithDebugSupport(ThrowingLaunchConfiguration, "test"); 6986builder.AddResource(executable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7022builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7064builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7100builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7136builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7178builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7220builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 7298.WithDebugSupport( 7495projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7537.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7588projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7691projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 7731projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("custom-debug") { Mode = mode }, "custom-debug"); 7863.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 7923.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 7975.WithDebugSupport(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType) 8019.WithDebugSupport(mode => new TestMauiLaunchConfiguration 8120projectBuilder.WithDebugSupport( 8255projectBuilder.WithDebugSupport( 8370.WithDebugSupport( 8452.WithDebugSupport( 8567.WithDebugSupport( 8627.WithDebugSupport( 8670.WithDebugSupport(mode => new ExecutableLaunchConfiguration("maui") { Mode = mode }, "maui") 8730projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8757projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8804customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8854customProject.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 8902.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 9061fileProject.WithDebugSupport( 9107fileProject.WithDebugSupport( 9323projectBuilder.WithDebugSupport( 9706.WithDebugSupport(mode => ProjectLaunchConfigurationFactory.Create(resource, mode), KnownLaunchConfigurationTypes.Project); 9770.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project"); 9800.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project") 9893.WithDebugSupport( 9948.WithDebugSupport( 9993.WithDebugSupport( 10052.WithDebugSupport( 10129.WithDebugSupport( 10261.WithDebugSupport( 10298.WithDebugSupport( 10333.WithDebugSupport( 10401.WithDebugSupport( 10492.WithDebugSupport( 10546.WithDebugSupport( 10607.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "/test/path", Mode = mode }, "project"); 10650.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project"); 12066projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 12158projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
DebugSupportExtensionsTests.cs (12)
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"); 434project.WithDebugSupport( 456project.WithDebugSupport( 480project.WithDebugSupport( 504.WithDebugSupport(mode => new TestGoLaunchConfiguration { Mode = mode }, "go"); 561.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(