Enable variable types in DAP config

We have this feature
This commit is contained in:
Dmitry Sharshakov 2021-08-24 10:51:52 +03:00
parent fdad7d67aa
commit 2158366b24
No known key found for this signature in database
GPG key ID: 471FD32E15FD8473

View file

@ -225,7 +225,9 @@ impl Client {
}
pub fn capabilities(&self) -> &DebuggerCapabilities {
self.caps.as_ref().expect("debugger not yet initialized!")
self.caps
.as_ref()
.expect("debugger not yet initialized!")
}
pub async fn initialize(&mut self, adapter_id: String) -> Result<()> {
@ -237,7 +239,7 @@ impl Client {
lines_start_at_one: Some(true),
columns_start_at_one: Some(true),
path_format: Some("path".to_owned()),
supports_variable_type: Some(false),
supports_variable_type: Some(true),
supports_variable_paging: Some(false),
supports_run_in_terminal_request: Some(false),
supports_memory_references: Some(false),