go: Use delve-dap-shim for spawning delve (#31700)

This allows us to support terminal with go sessions

Closes #ISSUE

Release Notes:

- debugger: Add support for terminal when debugging Go programs
This commit is contained in:
Piotr Osiewicz 2025-05-29 21:19:56 +02:00 committed by GitHub
parent 05692e298a
commit 070eac28e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 84 additions and 23 deletions

View file

@ -37,7 +37,7 @@ pub fn init(cx: &mut App) {
registry.add_adapter(Arc::from(PhpDebugAdapter::default()));
registry.add_adapter(Arc::from(JsDebugAdapter::default()));
registry.add_adapter(Arc::from(RubyDebugAdapter));
registry.add_adapter(Arc::from(GoDebugAdapter));
registry.add_adapter(Arc::from(GoDebugAdapter::default()));
registry.add_adapter(Arc::from(GdbDebugAdapter));
#[cfg(any(test, feature = "test-support"))]