debugger: Add support for CodeLLDB (#28376)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
61ddcd516f
commit
c441b651fa
6 changed files with 172 additions and 13 deletions
|
@ -1,3 +1,4 @@
|
|||
mod codelldb;
|
||||
mod gdb;
|
||||
mod go;
|
||||
mod javascript;
|
||||
|
@ -9,6 +10,7 @@ use std::{net::Ipv4Addr, sync::Arc};
|
|||
|
||||
use anyhow::{Result, anyhow};
|
||||
use async_trait::async_trait;
|
||||
use codelldb::CodeLldbDebugAdapter;
|
||||
use dap::{
|
||||
DapRegistry,
|
||||
adapters::{
|
||||
|
@ -26,6 +28,7 @@ use serde_json::{Value, json};
|
|||
use task::{DebugAdapterConfig, TCPHost};
|
||||
|
||||
pub fn init(registry: Arc<DapRegistry>) {
|
||||
registry.add_adapter(Arc::from(CodeLldbDebugAdapter::default()));
|
||||
registry.add_adapter(Arc::from(PythonDebugAdapter));
|
||||
registry.add_adapter(Arc::from(PhpDebugAdapter));
|
||||
registry.add_adapter(Arc::from(JsDebugAdapter::default()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue