debugger: Remove Start button from the attach modal (#34496)

Right now it doesn't work at all (the PID doesn't get set in the
generated scenario), and it's sort of redundant with the picker
functionality.

Release Notes:

- N/A
This commit is contained in:
Cole Miller 2025-07-15 17:06:46 -04:00 committed by GitHub
parent 0ada4ce900
commit 0ebbeec11c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -766,14 +766,7 @@ impl Render for NewProcessModal {
))
.child(
h_flex()
.child(div().child(self.adapter_drop_down_menu(window, cx)))
.child(
Button::new("debugger-spawn", "Start")
.on_click(cx.listener(|this, _, window, cx| {
this.start_new_session(window, cx)
}))
.disabled(disabled),
),
.child(div().child(self.adapter_drop_down_menu(window, cx))),
)
}),
NewProcessMode::Debug => el,