diff options
-rw-r--r-- | helix-term/src/application.rs | 1 | ||||
-rw-r--r-- | languages.toml | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 1bb2df39..82bba076 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -324,6 +324,7 @@ impl Application { .unwrap(); let (view, doc) = current!(self.editor); + log::info!("{:?}", doc); let start = doc.text().line_to_char(line - 1) + column; if let Some(end_line) = end_line { let end = diff --git a/languages.toml b/languages.toml index d2b5cbde..756fc30b 100644 --- a/languages.toml +++ b/languages.toml @@ -19,6 +19,11 @@ config = """ language-server = { command = "rust-analyzer" } indent = { tab-width = 4, unit = " " } +debug-adapter = { name = "lldb", transport = "tcp", command = "lldb-vscode", args = [], port-arg = "-p {}" } + +[[language.debug-configs]] +console = "internalConsole" +program = "target/debug/rustdebug" [[language]] name = "toml" |