We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd4d50 commit a96e922Copy full SHA for a96e922
1 file changed
lua/dap/utils.lua
@@ -201,7 +201,7 @@ M._trim_procname = trim_procname
201
---@field label? fun(proc: dap.utils.Proc): string
202
---@field prompt? string
203
204
---- Show a prompt to select a process pid
+--- Show a prompt to select a process pid and returns the pid on selection
205
--- Requires `ps ah -u $USER` on Linux/Mac and `tasklist /nh /fo csv` on windows.
206
--
207
--- Takes an optional `opts` table with the following options:
@@ -233,6 +233,7 @@ M._trim_procname = trim_procname
233
--- </pre>
234
---
235
---@param opts? dap.utils.pick_process.Opts
236
+---@return integer|dap.Abort
237
function M.pick_process(opts)
238
opts = opts or {}
239
local cols = math.max(14, math.floor(vim.o.columns * 0.7))
0 commit comments