103 references to WithDebugSupport
Aspire.Hosting (2)
ProjectResourceBuilderExtensions.cs (1)
562
builder.
WithDebugSupport
(
ResourceBuilderExtensions.cs (1)
5503
return builder.
WithDebugSupport
(
Aspire.Hosting.Azure.Functions (2)
AzureFunctionsProjectResourceExtensions.cs (2)
241
.
WithDebugSupport
(mode => new AzureFunctionsLaunchConfiguration { ProjectPath = projectMetadata.ProjectPath, Mode = mode }, "azure-functions");
297
functionsBuilder.
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)
770
builder.
WithDebugSupport
(
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1760
return builder.
WithDebugSupport
(
Aspire.Hosting.JavaScript (2)
JavaScriptHostingExtensions.cs (2)
2866
return builder.
WithDebugSupport
(
2935
.
WithDebugSupport
(
Aspire.Hosting.Maui (1)
MauiPlatformHelper.cs (1)
31
return resourceBuilder.
WithDebugSupport
(mode => new MauiLaunchConfiguration
Aspire.Hosting.Python (1)
PythonAppResourceBuilderExtensions.cs (1)
1000
builder.
WithDebugSupport
(
Aspire.Hosting.Tests (85)
Dcp\DcpExecutorTests.cs (59)
688
.
WithDebugSupport
(
5655
projectBuilder.
WithDebugSupport
(_ => new ProjectLaunchConfiguration
5988
builder.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");
6986
builder.AddResource(executable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
7022
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
7064
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
7100
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
7136
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
7178
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
7220
builder.AddResource(debuggableExecutable).
WithDebugSupport
(_ => new ExecutableLaunchConfiguration("test"), "test");
7298
.
WithDebugSupport
(
7495
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
7537
.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
7588
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
7691
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
7731
projectBuilder.
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
8120
projectBuilder.
WithDebugSupport
(
8255
projectBuilder.
WithDebugSupport
(
8370
.
WithDebugSupport
(
8452
.
WithDebugSupport
(
8567
.
WithDebugSupport
(
8627
.
WithDebugSupport
(
8670
.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("maui") { Mode = mode }, "maui")
8730
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
8757
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
8804
customProject.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
8854
customProject.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
8902
.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
9061
fileProject.
WithDebugSupport
(
9107
fileProject.
WithDebugSupport
(
9323
projectBuilder.
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");
12066
projectBuilder.
WithDebugSupport
(mode => new ExecutableLaunchConfiguration("azure-functions") { Mode = mode }, "azure-functions");
12158
projectBuilder.
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");
315
executable.
WithDebugSupport
(
329
.
WithDebugSupport
(_ => (TestGoLaunchConfiguration)null!, "go");
353
.
WithDebugSupport
(mode => new TestGoLaunchConfiguration { Mode = mode }, "go");
415
.
WithDebugSupport
(mode => new TestGoLaunchConfiguration { Mode = mode }, "go");
434
project.
WithDebugSupport
(
456
project.
WithDebugSupport
(
480
project.
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
(