Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-dap/src/lib.rs')
| -rw-r--r-- | helix-dap/src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helix-dap/src/lib.rs b/helix-dap/src/lib.rs index b0605c4f..16c84f66 100644 --- a/helix-dap/src/lib.rs +++ b/helix-dap/src/lib.rs @@ -1,8 +1,9 @@ mod client; +pub mod registry; mod transport; mod types; -pub use client::{Client, ConnectionType}; +pub use client::Client; pub use transport::{Payload, Response, Transport}; pub use types::*; @@ -31,6 +32,7 @@ pub type Result<T> = core::result::Result<T, Error>; #[derive(Debug)] pub enum Request { RunInTerminal(<requests::RunInTerminal as types::Request>::Arguments), + StartDebugging(<requests::StartDebugging as types::Request>::Arguments), } impl Request { @@ -40,6 +42,7 @@ impl Request { let arguments = arguments.unwrap_or_default(); let request = match command { requests::RunInTerminal::COMMAND => Self::RunInTerminal(parse_value(arguments)?), + requests::StartDebugging::COMMAND => Self::StartDebugging(parse_value(arguments)?), _ => return Err(Error::Unhandled), }; |