diff options
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r-- | helix-term/src/application.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index d74f9198..5fc35977 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -320,10 +320,18 @@ impl Application { None => "Debug:".to_owned(), }; + log::info!("{}", output); self.editor.set_status(format!("{} {}", prefix, output)); } Event::Initialized => { // send existing breakpoints + for (path, breakpoints) in &self.editor.breakpoints { + // TODO: call futures in parallel, await all + debugger + .set_breakpoints(path.clone(), breakpoints.clone()) + .await + .unwrap(); + } // TODO: fetch breakpoints (in case we're attaching) if let Ok(_) = debugger.configuration_done().await { |