25 references to SupportsDebugging
Aspire.Hosting (3)
ApplicationModel\DebugSupportExtensions.cs (1)
125
/// a debugger. Use <see cref="
SupportsDebugging
"/> to test for that.
Dcp\ExecutableLaunchPolicy.cs (1)
28
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)
410
if (ctx.Resource.
SupportsDebugging
(builder.Configuration, out var debugAnnotation)
502
|| (resource.
SupportsDebugging
(builder.Configuration, out var debugAnnotation)
Aspire.Hosting.Dotnet.Tests (5)
DotnetProjectBuildCoordinatorTests.cs (5)
282
Assert.True(project.Resource.
SupportsDebugging
(builder.Configuration, out _));
400
Assert.True(project.Resource.
SupportsDebugging
(builder.Configuration, out _));
520
Assert.False(project.Resource.
SupportsDebugging
(builder.Configuration, out _));
573
Assert.True(project.Resource.
SupportsDebugging
(builder.Configuration, out _));
4067
Assert.False(missing.Resource.
SupportsDebugging
(builder.Configuration, out _));
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1357
&& builder.Resource.
SupportsDebugging
(builder.ApplicationBuilder.Configuration, out _);
Aspire.Hosting.Tests (12)
DebugSupportExtensionsTests.cs (12)
344
Assert.False(executable.Resource.
SupportsDebugging
(CreateConfiguration(), out var annotation));
355
Assert.False(executable.Resource.
SupportsDebugging
(CreateConfiguration(debugSessionPort: null), out _));
368
Assert.True(project.Resource.
SupportsDebugging
(CreateConfiguration(), out var annotation));
387
Assert.False(fileApp.Resource.
SupportsDebugging
(configuration, out _));
404
Assert.True(fileApp.Resource.
SupportsDebugging
(configuration, out var annotation));
417
Assert.False(executable.Resource.
SupportsDebugging
(CreateConfiguration(), out _));
433
Assert.Equal(expected, executable.Resource.
SupportsDebugging
(configuration, out _));
449
Assert.False(project.Resource.
SupportsDebugging
(configuration, out _));
461
Assert.False(project.Resource.
SupportsDebugging
(CreateConfiguration(), out _));
473
Assert.False(project.Resource.
SupportsDebugging
(CreateConfiguration(), out _));
490
Assert.True(project.Resource.
SupportsDebugging
(configuration, out _));
491
Assert.False(executable.Resource.
SupportsDebugging
(configuration, out _));