debugger: Fix treatment of node-terminal scenarios (#33432)

- Normalize `node-terminal` to `pwa-node` before sending to DAP
- Split `command` into `program` and `args`
- Run in external console

Release Notes:

- debugger: Fixed debugging JavaScript tasks that used `"type":
"node-terminal"`.
This commit is contained in:
Cole Miller 2025-06-26 14:02:09 -04:00 committed by GitHub
parent a0bd25f218
commit 35863c4302
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 22 additions and 3 deletions

1
Cargo.lock generated
View file

@ -4156,6 +4156,7 @@ dependencies = [
"paths",
"serde",
"serde_json",
"shlex",
"task",
"util",
"workspace-hack",