95 references to WithDebugSupport
Aspire.Hosting (2)
ProjectResourceBuilderExtensions.cs (1)
533
builder.
WithDebugSupport
(
ResourceBuilderExtensions.cs (1)
5454
return 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)
703
.
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("custom"), "custom");
720
.
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("custom"), "custom");
765
.
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("custom"), "custom");
927
.
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("custom"), "custom");
959
.
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("custom"), "custom");
989
.
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("custom"), "custom");
Aspire.Hosting.Go (1)
GoHostingExtensions.cs (1)
735
return builder.
WithDebugSupport
(
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1752
return builder.
WithDebugSupport
(
Aspire.Hosting.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
2879
return builder.
WithDebugSupport
(
2948
.
WithDebugSupport
(
Aspire.Hosting.Maui (1)
MauiPlatformHelper.cs (1)
32
return resourceBuilder.
WithDebugSupport
(mode => new MauiLaunchConfiguration
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
939
builder.
WithDebugSupport
(
Aspire.Hosting.Tests (78)
Dcp\DcpExecutorTests.cs (55)
642
.
WithDebugSupport
(
5046
projectBuilder.
WithDebugSupport
(_ => new ProjectLaunchConfiguration
5379
builder.AddResource(debuggableExecutable).
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test");
5434
.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("test") { Mode = mode }, "test")
5570
.
WithDebugSupport
(
5610
.
WithDebugSupport
(
5650
.
WithDebugSupport
(
5694
.
WithDebugSupport
(
5742
.
WithDebugSupport
(ThrowingLaunchConfiguration, "test");
6298
builder.AddResource(executable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
6334
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
6376
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
6412
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
6448
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
6490
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
6532
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
6610
.
WithDebugSupport
(
6807
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
6847
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
6903
.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType)
6963
.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType)
7015
.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration(launchConfigurationType) { Mode = mode }, launchConfigurationType)
7059
.
WithDebugSupport
(mode => new TestMauiLaunchConfiguration
7160
projectBuilder.
WithDebugSupport
(
7295
projectBuilder.
WithDebugSupport
(
7410
.
WithDebugSupport
(
7492
.
WithDebugSupport
(
7607
.
WithDebugSupport
(
7667
.
WithDebugSupport
(
7710
.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("maui") { Mode = mode }, "maui")
7770
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
7797
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
7844
customProject.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
7894
customProject.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
7942
.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
8060
fileProject.
WithDebugSupport
(
8106
fileProject.
WithDebugSupport
(
8626
.
WithDebugSupport
(mode => ProjectLaunchConfigurationFactory.Create(resource, mode), KnownLaunchConfigurationTypes.Project);
8690
.
WithDebugSupport
(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project");
8720
.
WithDebugSupport
(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project")
8813
.
WithDebugSupport
(
8868
.
WithDebugSupport
(
8913
.
WithDebugSupport
(
8972
.
WithDebugSupport
(
9049
.
WithDebugSupport
(
9181
.
WithDebugSupport
(
9218
.
WithDebugSupport
(
9253
.
WithDebugSupport
(
9321
.
WithDebugSupport
(
9412
.
WithDebugSupport
(
9466
.
WithDebugSupport
(
9527
.
WithDebugSupport
(mode => new ProjectLaunchConfiguration { ProjectPath = "/test/path", Mode = mode }, "project");
9570
.
WithDebugSupport
(mode => new ProjectLaunchConfiguration { ProjectPath = "TestProjectWithLaunchSettings", Mode = mode }, "project");
10981
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
11073
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
DebugSupportExtensionsTests.cs (9)
149
.
WithDebugSupport
(mode => new ProjectLaunchConfiguration
168
.
WithDebugSupport
(mode => new TestGoLaunchConfiguration { Mode = mode, Package = "./cmd/api" }, "go");
250
.
WithDebugSupport
(mode => new TestGoLaunchConfiguration { Mode = mode }, "go");
307
executable.
WithDebugSupport
(
321
.
WithDebugSupport
(_ => (TestGoLaunchConfiguration)null!, "go");
345
.
WithDebugSupport
(mode => new TestGoLaunchConfiguration { Mode = mode }, "go");
405
.
WithDebugSupport
(mode => new TestGoLaunchConfiguration { Mode = mode }, "go");
419
.
WithDebugSupport
(mode => new TestGoLaunchConfiguration { Mode = mode }, "go");
468
.
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)
35
.
WithDebugSupport
(