diff options
author | Dmitry Sharshakov | 2021-08-15 09:46:16 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-08-20 04:43:54 +0000 |
commit | b9797a7dd22a5aa7d401a7d37166e21fd810c235 (patch) | |
tree | e297828bb3807aa282be60ef3e4df5d7491307a0 /helix-dap/examples/dap-dlv.rs | |
parent | 6c0f7eafc34d54cc4d4883908741b6f33a7372dd (diff) |
client: support tcp_process transport
Diffstat (limited to 'helix-dap/examples/dap-dlv.rs')
-rw-r--r-- | helix-dap/examples/dap-dlv.rs | 2 |
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?; |