debugger: Change some text in the launch tab (#32170)

I think using `Debugger Program` and `~/bin/debugger` here makes it seem
like that field is for specifying the path to the debugger itself, and
not the program being debugged.

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2025-06-05 12:29:18 -04:00 committed by GitHub
parent bbd431ae8c
commit d2c265c71f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -831,7 +831,7 @@ impl LaunchMode {
pub(super) fn new(window: &mut Window, cx: &mut App) -> Entity<Self> {
let program = cx.new(|cx| Editor::single_line(window, cx));
program.update(cx, |this, cx| {
this.set_placeholder_text("ENV=Zed ~/bin/debugger --launch", cx);
this.set_placeholder_text("ENV=Zed ~/bin/program --option", cx);
});
let cwd = cx.new(|cx| Editor::single_line(window, cx));
@ -919,7 +919,7 @@ impl LaunchMode {
.child(adapter_menu),
)
.child(
Label::new("Debugger Program")
Label::new("Program")
.size(ui::LabelSize::Small)
.color(Color::Muted),
)