microsoft / microsoft/vscode-python-debugger

name filter for process picker

Open
#847 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request needs community feedback
Dominant language
TypeScript
Stars
181
Forks
126
Avg merge
2d 3h
Merged PRs (30d)
3

Description

Hi!

When I use

    {
        "name": "Python Debugger: Attach using Process Id",
        "type": "debugpy",
        "request": "attach",
        "processId": "${command:pickProcess}",
        "justMyCode": false,
    },

I get a list of all (?) processes on my computer that I can attach to. A lot of them, at least.

Typically, I attach to the same process name (but different path due to parallel builds)
Could we add for example a property like below to only list items matching path (or regex ?) below to pick from?

"processNameFilter":"*/build/myproc.exe"

Regards
Thomas

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.

Research direction

Start at the ${command:pickProcess} process-picker entry point and trace how its configuration is read; no source file or test is named in the issue. Clarify the filter value and matching behavior, then add coverage showing that matching processes are listed and others are excluded.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, typescript
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.