Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Log when starting language servers (#8075)

Thorsten Balld5aba2795b7b
diff --git a/crates/lsp/src/lsp.rs b/crates/lsp/src/lsp.rs
index 342475e3f6b..8b2a8cff17b 100644
--- a/crates/lsp/src/lsp.rs
+++ b/crates/lsp/src/lsp.rs
@@ -179,6 +179,13 @@ impl LanguageServer {
root_path.parent().unwrap_or_else(|| Path::new("/"))
};
+ log::info!(
+ "starting language server. binary path: {:?}, working directory: {:?}, args: {:?}",
+ binary.path,
+ working_dir,
+ &binary.arguments
+ );
+
let mut server = process::Command::new(&binary.path)
.current_dir(working_dir)
.args(binary.arguments)