Log when starting language servers (#8075)
This should help us debug more failures because we can now see what exactly was started. Release Notes: - N/A Co-authored-by: Nathan <nathan@zed.dev> Co-authored-by: Max <max@zed.dev>
This commit is contained in:
parent
92b2e5608b
commit
d5aba2795b
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue