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)
147if (!debuggerResource.SupportsDebugging(builder.Configuration, out _)) 220return debuggerResource.SupportsDebugging(builder.Configuration, out _)
Aspire.Hosting.Dotnet (2)
DotnetProjectHostingExtensions.cs (2)
411if (ctx.Resource.SupportsDebugging(builder.Configuration, out var debugAnnotation) 504|| (resource.SupportsDebugging(builder.Configuration, out var debugAnnotation)
Aspire.Hosting.Dotnet.Tests (5)
DotnetProjectBuildCoordinatorTests.cs (5)
290Assert.True(project.Resource.SupportsDebugging(builder.Configuration, out _)); 408Assert.True(project.Resource.SupportsDebugging(builder.Configuration, out _)); 528Assert.False(project.Resource.SupportsDebugging(builder.Configuration, out _)); 581Assert.True(project.Resource.SupportsDebugging(builder.Configuration, out _)); 4247Assert.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)
7685Assert.True(projectBuilder.Resource.SupportsDebugging(configuration, out var effectiveIdeLaunchAnnotation)); 7740Assert.False(projectBuilder.Resource.SupportsDebugging(configuration, out var declaredIdeLaunchAnnotation)); 7951Assert.True(functions.Resource.SupportsDebugging(configuration, out var effectiveIdeLaunchAnnotation)); 9167Assert.False(projectBuilder.Resource.SupportsDebugging(configuration, out var returnedAnnotation)); 9477if (!context.Resource.SupportsDebugging(configuration, out _)) 9483Assert.False(projectBuilder.Resource.SupportsDebugging(configuration, out var declaredIdeLaunchAnnotation));
Dcp\ExecutableLaunchPlanTests.cs (1)
389Assert.True(resource.SupportsDebugging(inspectionConfiguration, out var ideLaunchAnnotation));
DebugSupportExtensionsTests.cs (15)
343Assert.False(executable.Resource.SupportsDebugging(CreateConfiguration(), out var annotation)); 354Assert.False(executable.Resource.SupportsDebugging(CreateConfiguration(debugSessionPort: null), out _)); 367Assert.True(project.Resource.SupportsDebugging(CreateConfiguration(), out var annotation)); 386Assert.False(fileApp.Resource.SupportsDebugging(configuration, out _)); 403Assert.True(fileApp.Resource.SupportsDebugging(configuration, out var annotation)); 416Assert.False(executable.Resource.SupportsDebugging(CreateConfiguration(), out _)); 440Assert.True(project.Resource.SupportsDebugging(configuration, out var effectiveAnnotation)); 466Assert.False(project.Resource.SupportsDebugging(configuration, out var returnedAnnotation)); 490Assert.False(project.Resource.SupportsDebugging(configuration, out var returnedAnnotation)); 507Assert.Equal(expected, executable.Resource.SupportsDebugging(configuration, out _)); 523Assert.False(project.Resource.SupportsDebugging(configuration, out _)); 535Assert.False(project.Resource.SupportsDebugging(CreateConfiguration(), out _)); 547Assert.False(project.Resource.SupportsDebugging(CreateConfiguration(), out _)); 564Assert.True(project.Resource.SupportsDebugging(configuration, out _)); 565Assert.False(executable.Resource.SupportsDebugging(configuration, out _));