Skip to content

Canceling "Run & debug" > Attach by process ID (Pick process) always opens the launch.json file #254852

@jbgraug

Description

@jbgraug

Does this issue occur when all extensions are disabled?: No

  • VS Code Version: 1.101.2
  • OS Version: Darwin arm64 24.5.0
    Commit: 2901c5a
    Date: 2025-06-24T20:27:15.391Z
    Electron: 35.5.1
    ElectronBuildId: 11727614
    Chromium: 134.0.6998.205
    Node.js: 22.15.1
    V8: 13.4.114.21-electron.0

Steps to Reproduce:

  1. Click on "Run & debug"
  2. Select "Attach by process ID"
  3. Press the "Esc" key or click outside the combo box (do not pick any process id)
  4. A dialog is shown
Image
  1. Clicking on "Cancel" has the same effect as clicking on "open launch.json"

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions