microsoft / microsoft/vscode-python-debugger

Attach using Process ID, process picker not working

Open
#867 7 comments 0 reactions 1 assignee View on GitHub

@eleanorjboyd is already working on this.

Since Nov 11, 2025.

triage-needed
Dominant language
TypeScript
Stars
181
Forks
126
Avg merge
2d 3h
Merged PRs (30d)
3

Description

In the past, when I have attempted to debug by attaching to a process, the "process picker" has presented me with a list of running processes to attach to.

This no longer happens - in fact, nothing appears to happen.

A workaround has been to hardcode the process ID, but this is undesirable in the long-term.

My launch.json is:

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Attach using Process Id",
"type": "debugpy",
"request": "attach",
"processId": "${command:pickProcess}"
},
{
"name": "Python Debugger: Current File",
"type": "debugpy",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
}
]
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.