update the attribute name for process ID

The attribute name for picked process id when attaching the debugger is `pid`, not `processId`
This commit is contained in:
XY Lin 2024-04-23 22:44:52 +01:00 committed by GitHub
parent f086bcde25
commit cd6363e4fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,7 +144,7 @@ return {
type = "codelldb", type = "codelldb",
request = "attach", request = "attach",
name = "Attach to process", name = "Attach to process",
processId = require("dap.utils").pick_process, pid = require("dap.utils").pick_process,
cwd = "${workspaceFolder}", cwd = "${workspaceFolder}",
}, },
} }