debugger: Use the right adapter for type: node-terminal (#32723)

Closes #32690 

Release Notes:

- Debugger Beta: fixed `node-terminal` JavaScript configurations from
launch.json not working.
This commit is contained in:
Cole Miller 2025-06-13 18:01:08 -04:00 committed by GitHub
parent feef68bec7
commit dc475dd292
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,8 +87,8 @@ impl TryFrom<VsCodeDebugTaskFile> for DebugTaskFile {
fn task_type_to_adapter_name(task_type: &str) -> String {
match task_type {
"pwa-node" | "node" | "chrome" | "pwa-chrome" | "edge" | "pwa-edge" | "msedge"
| "pwa-msedge" => "JavaScript",
"pwa-node" | "node" | "node-terminal" | "chrome" | "pwa-chrome" | "edge" | "pwa-edge"
| "msedge" | "pwa-msedge" => "JavaScript",
"go" => "Delve",
"php" => "PHP",
"cppdbg" | "lldb" => "CodeLLDB",