diff options
Diffstat (limited to 'helix-dap/examples/dap-lldb.rs')
-rw-r--r-- | helix-dap/examples/dap-lldb.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-dap/examples/dap-lldb.rs b/helix-dap/examples/dap-lldb.rs index 85ff2762..c9a99548 100644 --- a/helix-dap/examples/dap-lldb.rs +++ b/helix-dap/examples/dap-lldb.rs @@ -1,6 +1,6 @@ use helix_dap::{events, Client, Event, Result, SourceBreakpoint}; use serde::{Deserialize, Serialize}; -use serde_json::from_value; +use serde_json::{from_value, to_value}; use tokio::sync::mpsc::Receiver; #[derive(Debug, PartialEq, Clone, Deserialize, Serialize)] @@ -50,7 +50,7 @@ pub async fn main() -> Result<()> { console: "internalConsole".to_owned(), }; - println!("launch: {:?}", client.launch(args).await); + println!("launch: {:?}", client.launch(to_value(args)?).await); println!( "breakpoints: {:#?}", |