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)
956
return builder.
WithDebugSupport
(
984
return builder.
WithDebugSupport
(
1051
.
WithDebugSupport
(
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
947
builder.
WithDebugSupport
(
Aspire.Hosting.Tests (14)
Dcp\DcpExecutorTests.cs (12)
1692
builder.AddResource(debuggableExecutable).
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test");
1747
builder.AddResource(executable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
1783
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
1825
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
1861
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
1897
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
1939
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
1981
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
2351
builder.AddResource(debuggableExecutable).
WithDebugSupport
<TestExecutableResource, ExecutableLaunchConfiguration>(_ => throw new InvalidOperationException("Test exception from launch configuration producer"), "test");
2403
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
2457
projectBuilder.
WithDebugSupport
<ProjectResource, ExecutableLaunchConfiguration>(
2507
projectBuilder.
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");