Allow remote loading for DAP-only extensions (#33981)

Closes #ISSUE


![image](https://github.com/user-attachments/assets/8e1766e4-5d89-4263-875d-ad0dff5c55c2)


Release Notes:

- Allow remote loading for DAP-only extensions
This commit is contained in:
feeiyu 2025-07-06 20:52:16 +08:00 committed by GitHub
parent 01295aa687
commit 2246b01c4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 33 additions and 21 deletions

View file

@ -130,6 +130,12 @@ impl ExtensionManifest {
Ok(())
}
pub fn allow_remote_load(&self) -> bool {
!self.language_servers.is_empty()
|| !self.debug_adapters.is_empty()
|| !self.debug_locators.is_empty()
}
}
pub fn build_debug_adapter_schema_path(