36 references to SupportsDebugging
Aspire.Hosting (4)
ApplicationModel\DebugSupportExtensions.cs (2)
198
/// also <see langword="false"/> for the synthesized project annotation that <see cref="
SupportsDebugging
"/>
241
/// a debugger. Use <see cref="
SupportsDebugging
"/> to test for that.
SupportsDebuggingAnnotation.cs (2)
16
/// <see cref="DebugSupportExtensions.
SupportsDebugging
"/> to test for that.
43
/// <c>azure-functions</c>. See <see cref="DebugSupportExtensions.
SupportsDebugging
"/> for the complete rules.
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)
411
if (ctx.Resource.
SupportsDebugging
(builder.Configuration, out var debugAnnotation)
504
|| (resource.
SupportsDebugging
(builder.Configuration, out var debugAnnotation)
Aspire.Hosting.Dotnet.Tests (5)
DotnetProjectBuildCoordinatorTests.cs (5)
290
Assert.True(project.Resource.
SupportsDebugging
(builder.Configuration, out _));
408
Assert.True(project.Resource.
SupportsDebugging
(builder.Configuration, out _));
528
Assert.False(project.Resource.
SupportsDebugging
(builder.Configuration, out _));
581
Assert.True(project.Resource.
SupportsDebugging
(builder.Configuration, out _));
4247
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 (22)
Dcp\DcpExecutorTests.cs (6)
7685
Assert.True(projectBuilder.Resource.
SupportsDebugging
(configuration, out var effectiveIdeLaunchAnnotation));
7740
Assert.False(projectBuilder.Resource.
SupportsDebugging
(configuration, out var declaredIdeLaunchAnnotation));
7951
Assert.True(functions.Resource.
SupportsDebugging
(configuration, out var effectiveIdeLaunchAnnotation));
9167
Assert.False(projectBuilder.Resource.
SupportsDebugging
(configuration, out var returnedAnnotation));
9477
if (!context.Resource.
SupportsDebugging
(configuration, out _))
9483
Assert.False(projectBuilder.Resource.
SupportsDebugging
(configuration, out var declaredIdeLaunchAnnotation));
Dcp\ExecutableLaunchPlanTests.cs (1)
389
Assert.True(resource.
SupportsDebugging
(inspectionConfiguration, out var ideLaunchAnnotation));
DebugSupportExtensionsTests.cs (15)
343
Assert.False(executable.Resource.
SupportsDebugging
(CreateConfiguration(), out var annotation));
354
Assert.False(executable.Resource.
SupportsDebugging
(CreateConfiguration(debugSessionPort: null), out _));
367
Assert.True(project.Resource.
SupportsDebugging
(CreateConfiguration(), out var annotation));
386
Assert.False(fileApp.Resource.
SupportsDebugging
(configuration, out _));
403
Assert.True(fileApp.Resource.
SupportsDebugging
(configuration, out var annotation));
416
Assert.False(executable.Resource.
SupportsDebugging
(CreateConfiguration(), out _));
440
Assert.True(project.Resource.
SupportsDebugging
(configuration, out var effectiveAnnotation));
466
Assert.False(project.Resource.
SupportsDebugging
(configuration, out var returnedAnnotation));
490
Assert.False(project.Resource.
SupportsDebugging
(configuration, out var returnedAnnotation));
507
Assert.Equal(expected, executable.Resource.
SupportsDebugging
(configuration, out _));
523
Assert.False(project.Resource.
SupportsDebugging
(configuration, out _));
535
Assert.False(project.Resource.
SupportsDebugging
(CreateConfiguration(), out _));
547
Assert.False(project.Resource.
SupportsDebugging
(CreateConfiguration(), out _));
564
Assert.True(project.Resource.
SupportsDebugging
(configuration, out _));
565
Assert.False(executable.Resource.
SupportsDebugging
(configuration, out _));