Add a JS/TS debug locator (#31769)

With this, a semi-working debug session is possible from the JS/TS
gutter tasks:


https://github.com/user-attachments/assets/8db6ed29-b44a-4314-ae8b-a8213291bffc

For now, available in debug builds only as a base to improve on later on
the DAP front.

Release Notes:

- N/A

---------

Co-authored-by: Piotr Osiewicz <peterosiewicz@gmail.com>
This commit is contained in:
Kirill Bulatov 2025-05-30 20:15:42 +03:00 committed by GitHub
parent 0ee900e8fb
commit 1e83022f03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 95 additions and 13 deletions

View file

@ -1421,7 +1421,7 @@ impl Session {
));
return cx.spawn(async move |this, cx| {
this.update(cx, |this, cx| process_result(this, error, cx))
.log_err()
.ok()
.flatten()
});
}
@ -1430,7 +1430,7 @@ impl Session {
cx.spawn(async move |this, cx| {
let result = request.await;
this.update(cx, |this, cx| process_result(this, result, cx))
.log_err()
.ok()
.flatten()
})
}