aboutsummaryrefslogtreecommitdiff
path: root/helix-dap/examples/dap-dlv.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-dap/examples/dap-dlv.rs')
-rw-r--r--helix-dap/examples/dap-dlv.rs2
1 files changed, 1 insertions, 1 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?;