aboutsummaryrefslogtreecommitdiff
path: root/helix-dap/src/types.rs
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-23 14:18:03 +0000
committerDmitry Sharshakov2021-08-23 14:18:03 +0000
commit839d2105739036decf045f6af85ce05152f514ef (patch)
tree77e1cbe1da8cabaf8ccb3973fe9ed445ff87df3a /helix-dap/src/types.rs
parentf55a012fb744b258ac84ac0302cb0b87f7d35173 (diff)
Enable stdio transport via config
Diffstat (limited to 'helix-dap/src/types.rs')
-rw-r--r--helix-dap/src/types.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-dap/src/types.rs b/helix-dap/src/types.rs
index 152996a1..a31bc1d1 100644
--- a/helix-dap/src/types.rs
+++ b/helix-dap/src/types.rs
@@ -5,9 +5,10 @@ use std::path::PathBuf;
#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
#[serde(rename_all = "kebab-case")]
pub struct DebugAdapterConfig {
+ pub transport: String,
pub command: String,
pub args: Vec<String>,
- pub port_arg: String,
+ pub port_arg: Option<String>,
}
pub trait Request {