on master help sign in
Enable variable types in DAP config

We have this feature

commit2158366b24da8229e743546ccedc5cd05292e254 authorDmitry Sharshakov <d3dx12.xx@gmail.com> dateTue 24 Aug 2021, 10:51 (5 years ago) parentfdad7d6
1 file changed+4−2
helix-dap/src/client.rs+4−2
helix-dap/src/client.rs+4−2
@@ -225,7 +225,9 @@ impl Client {
225225 }
226226
227227 pub fn capabilities(&self) -> &DebuggerCapabilities {
228− self.caps.as_ref().expect("debugger not yet initialized!")
228+ self.caps
229+ .as_ref()
230+ .expect("debugger not yet initialized!")
229231 }
230232
231233 pub async fn initialize(&mut self, adapter_id: String) -> Result<()> {
@@ -237,7 +239,7 @@ impl Client {
237239 lines_start_at_one: Some(true),
238240 columns_start_at_one: Some(true),
239241 path_format: Some("path".to_owned()),
240− supports_variable_type: Some(false),
242+ supports_variable_type: Some(true),
241243 supports_variable_paging: Some(false),
242244 supports_run_in_terminal_request: Some(false),
243245 supports_memory_references: Some(false),