aboutsummaryrefslogtreecommitdiff
path: root/helix-dap/examples/dap-lldb.rs
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-15 09:46:16 +0000
committerBlaž Hrastnik2021-08-20 04:43:54 +0000
commitb9797a7dd22a5aa7d401a7d37166e21fd810c235 (patch)
treee297828bb3807aa282be60ef3e4df5d7491307a0 /helix-dap/examples/dap-lldb.rs
parent6c0f7eafc34d54cc4d4883908741b6f33a7372dd (diff)
client: support tcp_process transport
Diffstat (limited to 'helix-dap/examples/dap-lldb.rs')
-rw-r--r--helix-dap/examples/dap-lldb.rs2
1 files changed, 1 insertions, 1 deletions
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?;