22 references to WithDebugSupport
Aspire.Hosting (3)
ProjectResourceBuilderExtensions.cs (3)
256.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "project") 302.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = projectPath, Mode = mode }, "project") 385.WithDebugSupport(mode => new ProjectLaunchConfiguration { ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "project")
Aspire.Hosting.Azure.Functions (1)
AzureFunctionsProjectResourceExtensions.cs (1)
190.WithDebugSupport(mode => new AzureFunctionsLaunchConfiguration { ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "azure-functions");
Aspire.Hosting.JavaScript (3)
JavaScriptHostingExtensions.cs (3)
956return builder.WithDebugSupport( 984return builder.WithDebugSupport( 1051.WithDebugSupport(
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
947builder.WithDebugSupport(
Aspire.Hosting.Tests (14)
Dcp\DcpExecutorTests.cs (12)
1692builder.AddResource(debuggableExecutable).WithDebugSupport(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test"); 1747builder.AddResource(executable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 1783builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 1825builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 1861builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 1897builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 1939builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 1981builder.AddResource(debuggableExecutable).WithDebugSupport(_ => new ExecutableLaunchConfiguration("test"), "test"); 2351builder.AddResource(debuggableExecutable).WithDebugSupport<TestExecutableResource, ExecutableLaunchConfiguration>(_ => throw new InvalidOperationException("Test exception from launch configuration producer"), "test"); 2403projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions"); 2457projectBuilder.WithDebugSupport<ProjectResource, ExecutableLaunchConfiguration>( 2507projectBuilder.WithDebugSupport(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
ExecutableResourceBuilderExtensionTests.cs (2)
81.WithDebugSupport(_ => launchConfig, "ms-python.python"); 99.WithDebugSupport(_ => new ExecutableLaunchConfiguration("python"), "ms-python.python");