12 references to StartDebugSessionOption
aspire (7)
Commands\PipelineCommandBase.cs (1)
206var startDebugSession = ExtensionHelper.IsExtensionHost(InteractionService, out _, out _) && parseResult.GetValue(RootCommand.StartDebugSessionOption);
Commands\RootCommand.cs (1)
199Options.Add(StartDebugSessionOption);
Commands\RunCommand.cs (2)
182startDebugSession = parseResult.GetValue(RootCommand.StartDebugSessionOption); 231RootCommand.StartDebugSessionOption,
Commands\StartCommand.cs (2)
79var startDebugSession = parseResult.GetValue(RootCommand.StartDebugSessionOption); 85RootCommand.StartDebugSessionOption,
Completions\CompletionInvocation.cs (1)
52var option = RootCommand.GlobalOptions.Append(RootCommand.StartDebugSessionOption)
Aspire.Cli.Tests (5)
Commands\CompletionsCommandTests.cs (1)
97Assert.False(command.Options.Contains(RootCommand.StartDebugSessionOption));
Commands\RootCommandTests.cs (2)
281Assert.DoesNotContain(normalCommand.Options, option => ReferenceEquals(option, RootCommand.StartDebugSessionOption)); 291Assert.Contains(extensionCommand.Options, option => ReferenceEquals(option, RootCommand.StartDebugSessionOption));
Commands\StartCommandTests.cs (2)
59Assert.Contains(command.Options, option => ReferenceEquals(option, RootCommand.StartDebugSessionOption)); 60Assert.False(RootCommand.StartDebugSessionOption.Hidden);