Skip to content

Conversation

mitchdenny
Copy link
Member

@mitchdenny mitchdenny commented Apr 9, 2025

This PR removes the -w shortcut from --wait-for-debugger. This is because the -w switch conflicts with --watch on aspire run. It probably makes sense for -w to be reserved for --watch on aspire run.

Fixes: #8632

@Copilot Copilot AI review requested due to automatic review settings April 9, 2025 01:10
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/Aspire.Cli/Commands/RootCommand.cs:25

  • Please ensure corresponding test cases are updated or added to validate that --wait-for-debugger works correctly without the -w alias.
var waitForDebuggerOption = new Option<bool>("--wait-for-debugger");

@mitchdenny mitchdenny self-assigned this Apr 9, 2025
@mitchdenny mitchdenny added this to the 9.2 milestone Apr 9, 2025
@mitchdenny mitchdenny merged commit 5bb2507 into main Apr 9, 2025
176 checks passed
@mitchdenny mitchdenny deleted the mitchdenny/no-w-for-wait-for-debugger branch April 9, 2025 03:27
@mitchdenny
Copy link
Member Author

/backport to release/9.2

Copy link
Contributor

github-actions bot commented Apr 9, 2025

Started backporting to release/9.2: https://github.com/dotnet/aspire/actions/runs/14348318309

@github-actions github-actions bot locked and limited conversation to collaborators May 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[WebToolsE2E][Aspire] With 'aspire run', the short form is -w for both watch and wait-for-debugger
2 participants