10 references to StartDebugSessionOption
aspire (6)
Commands\PipelineCommandBase.cs (1)
206var startDebugSession = ExtensionHelper.IsExtensionHost(InteractionService, out _, out _) && parseResult.GetValue(RootCommand.StartDebugSessionOption);
Commands\RootCommand.cs (1)
195Options.Add(StartDebugSessionOption);
Commands\RunCommand.cs (2)
180startDebugSession = parseResult.GetValue(RootCommand.StartDebugSessionOption); 229RootCommand.StartDebugSessionOption,
Commands\StartCommand.cs (2)
79var startDebugSession = parseResult.GetValue(RootCommand.StartDebugSessionOption); 85RootCommand.StartDebugSessionOption,
Aspire.Cli.Tests (4)
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)
58Assert.Contains(command.Options, option => ReferenceEquals(option, RootCommand.StartDebugSessionOption)); 59Assert.False(RootCommand.StartDebugSessionOption.Hidden);