Debugger: Add pretty printers for Cargo-located tasks (#27979)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-04-03 01:40:08 +02:00 committed by GitHub
parent 501b539286
commit ee950f5bc4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 43 additions and 4 deletions

View file

@ -358,7 +358,14 @@ impl DapStore {
let task = cx.spawn(async move |this, cx| {
if config.locator.is_some() {
locator_store.resolve_debug_config(&mut config).await?;
config = cx
.background_spawn(async move {
locator_store
.resolve_debug_config(&mut config)
.await
.map(|_| config)
})
.await?;
}
let start_client_task = this.update(cx, |this, cx| {