Skip to content

Commit 199184a

Browse files
committed
Auto-confirm
1 parent 32c6ca4 commit 199184a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

adapter/codelldb/src/debug_session/launch.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,9 @@ impl super::DebugSession {
478478
if let Some(ConsoleMode::Split) = settings.console_mode {
479479
let name = args_common.name.as_deref().unwrap_or("Debug");
480480
self.create_debugger_terminal(name);
481+
} else {
482+
// Witoout a terminal, confirmations will just hang the session.
483+
self.debugger.set_variable("auto-confirm", "true")?;
481484
}
482485
}
483486

0 commit comments

Comments
 (0)