21 references to SupportsDebugging
Aspire.Hosting (3)
ApplicationModel\DebugSupportExtensions.cs (1)
121
/// a debugger. Use <see cref="
SupportsDebugging
"/> to test for that.
Dcp\ExecutableLaunchPolicy.cs (1)
27
var supportsDebugging = resource.
SupportsDebugging
(_configuration, out var debugSupport);
SupportsDebuggingAnnotation.cs (1)
16
/// <see cref="DebugSupportExtensions.
SupportsDebugging
"/> to test for that.
Aspire.Hosting.Blazor (2)
BrowserDebuggerHelper.cs (2)
147
if (!debuggerResource.
SupportsDebugging
(builder.Configuration, out _))
220
return debuggerResource.
SupportsDebugging
(builder.Configuration, out _)
Aspire.Hosting.Dotnet (2)
DotnetProjectHostingExtensions.cs (2)
288
if (ctx.Resource.
SupportsDebugging
(builder.Configuration, out var debugAnnotation)
379
|| (resource.
SupportsDebugging
(builder.Configuration, out var debugAnnotation)
Aspire.Hosting.Dotnet.Tests (3)
DotnetProjectBuildCoordinatorTests.cs (3)
107
Assert.True(project.Resource.
SupportsDebugging
(builder.Configuration, out _));
178
Assert.True(project.Resource.
SupportsDebugging
(builder.Configuration, out _));
2394
Assert.False(missing.Resource.
SupportsDebugging
(builder.Configuration, out _));
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1360
&& builder.Resource.
SupportsDebugging
(builder.ApplicationBuilder.Configuration, out _);
Aspire.Hosting.Tests (10)
DebugSupportExtensionsTests.cs (10)
336
Assert.False(executable.Resource.
SupportsDebugging
(CreateConfiguration(), out var annotation));
347
Assert.False(executable.Resource.
SupportsDebugging
(CreateConfiguration(debugSessionPort: null), out _));
358
Assert.True(project.Resource.
SupportsDebugging
(CreateConfiguration(), out var annotation));
371
Assert.False(executable.Resource.
SupportsDebugging
(CreateConfiguration(), out _));
387
Assert.Equal(expected, executable.Resource.
SupportsDebugging
(configuration, out _));
401
Assert.False(project.Resource.
SupportsDebugging
(configuration, out _));
411
Assert.False(project.Resource.
SupportsDebugging
(CreateConfiguration(), out _));
421
Assert.False(project.Resource.
SupportsDebugging
(CreateConfiguration(), out _));
436
Assert.True(project.Resource.
SupportsDebugging
(configuration, out _));
437
Assert.False(executable.Resource.
SupportsDebugging
(configuration, out _));