debugger beta: Fix dap_schema for DAP extensions (#31173)
We now actually call dap_schema provided by extensions instead of defaulting to a null `serde_json::Value`. We still need to update the Json LSP whenever a new dap is installed. Release Notes: - N/A
This commit is contained in:
parent
baf6d82cd4
commit
06f725d51b
13 changed files with 35 additions and 22 deletions
|
@ -144,7 +144,7 @@ pub trait Extension: Send + Sync + 'static {
|
|||
worktree: Arc<dyn WorktreeDelegate>,
|
||||
) -> Result<DebugAdapterBinary>;
|
||||
|
||||
async fn dap_schema(&self) -> Result<serde_json::Value>;
|
||||
async fn get_dap_schema(&self) -> Result<serde_json::Value>;
|
||||
}
|
||||
|
||||
pub fn parse_wasm_extension_version(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue