93 references to WithDebugSupport
Aspire.Hosting (1)
ProjectResourceBuilderExtensions.cs (1)
507
builder.
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)
737
return builder.
WithDebugSupport
(
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1755
return builder.
WithDebugSupport
(
Aspire.Hosting.JavaScript (3)
JavaScriptHostingExtensions.cs (3)
2166
return builder.
WithDebugSupport
(
2201
return builder.
WithDebugSupport
(
2270
.
WithDebugSupport
(
Aspire.Hosting.Maui (1)
MauiPlatformHelper.cs (1)
32
return resourceBuilder.
WithDebugSupport
(mode => new MauiLaunchConfiguration
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
941
builder.
WithDebugSupport
(
Aspire.Hosting.Tests (76)
Dcp\DcpExecutorTests.cs (53)
290
.
WithDebugSupport
(
4327
projectBuilder.
WithDebugSupport
(_ => new ProjectLaunchConfiguration
4660
builder.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");
5579
builder.AddResource(executable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
5615
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
5657
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
5693
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
5729
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
5771
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
5813
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
5891
.
WithDebugSupport
(
6088
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
6128
projectBuilder.
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
6441
projectBuilder.
WithDebugSupport
(
6576
projectBuilder.
WithDebugSupport
(
6691
.
WithDebugSupport
(
6773
.
WithDebugSupport
(
6888
.
WithDebugSupport
(
6948
.
WithDebugSupport
(
6991
.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("maui") { Mode = mode }, "maui")
7051
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
7078
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
7125
customProject.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
7175
customProject.
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");
9698
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
9790
projectBuilder.
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");
303
executable.
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
(