diff options
Diffstat (limited to 'helix-dap/examples')
-rw-r--r-- | helix-dap/examples/dap-dlv.rs | 2 | ||||
-rw-r--r-- | helix-dap/examples/dap-lldb.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/helix-dap/examples/dap-dlv.rs b/helix-dap/examples/dap-dlv.rs index c42559b9..a18ec5e2 100644 --- a/helix-dap/examples/dap-dlv.rs +++ b/helix-dap/examples/dap-dlv.rs @@ -35,7 +35,7 @@ pub async fn main() -> Result<()> { .apply() .expect("Failed to set up logging"); - let client = Client::tcp("127.0.0.1:7777".parse::<std::net::SocketAddr>().unwrap(), 0).await; + let client = Client::tcp_process("dlv", vec!["dap"], "-l 127.0.0.1:{}", 0).await; println!("create: {:?}", client); let mut client = client?; diff --git a/helix-dap/examples/dap-lldb.rs b/helix-dap/examples/dap-lldb.rs index 6fe666b2..5e10ebed 100644 --- a/helix-dap/examples/dap-lldb.rs +++ b/helix-dap/examples/dap-lldb.rs @@ -35,7 +35,7 @@ pub async fn main() -> Result<()> { .apply() .expect("Failed to set up logging"); - let client = Client::tcp("127.0.0.1:7777".parse::<std::net::SocketAddr>().unwrap(), 0).await; + let client = Client::tcp_process("lldb-vscode", vec![], "-p {}", 0).await; println!("create: {:?}", client); let mut client = client?; |