diff options
author | Dmitry Sharshakov | 2021-08-12 14:49:12 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-08-20 04:43:54 +0000 |
commit | 5f3e8063415291e91d856fe3ed1eea16b058d0e1 (patch) | |
tree | 2a21f483bf860d4fdca302ac29ef89b50dac4503 | |
parent | 5fd0a2ddda5710a12f0f76267420bde11a825b21 (diff) |
dap-basic: pretty-print results
-rw-r--r-- | helix-dap/examples/dap-basic.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helix-dap/examples/dap-basic.rs b/helix-dap/examples/dap-basic.rs index 7056f77a..434f2eeb 100644 --- a/helix-dap/examples/dap-basic.rs +++ b/helix-dap/examples/dap-basic.rs @@ -16,14 +16,14 @@ pub async fn main() -> Result<()> { let mut client = Client::start("nc", vec!["127.0.0.1", "7777"], 0)?; println!("init: {:?}", client.initialize().await); - println!("caps: {:?}", client.capabilities()); + println!("caps: {:#?}", client.capabilities()); println!( "launch: {:?}", client.launch("/tmp/godebug/main".to_owned()).await ); println!( - "breakpoints: {:?}", + "breakpoints: {:#?}", client .set_breakpoints( "/tmp/godebug/main.go".to_owned(), @@ -42,7 +42,7 @@ pub async fn main() -> Result<()> { println!("configurationDone: {:?}", client.configuration_done().await); println!("stopped: {:?}", client.wait_for_stopped().await); - println!("stack trace: {:?}", client.stack_trace(1).await); + println!("stack trace: {:#?}", client.stack_trace(1).await); let mut _in = String::new(); std::io::stdin() |