Skip to content

Attach to process by id does not work with pathMappings  #9533

Description

When attaching to local process, debugger no longer requires pathMappings. Currently the default configuration generated for attach to process by id adds path mappings.

Expected:

{
  "name": "Attach pid",
  "type": "python",
  "request": "attach",
  "processId": "${command:pickProcess}"
},

Actual:

{
  "name": "Attach pid",
  "type": "python",
  "request": "attach",
  "processId": "${command:pickProcess}",
  "pathMappings": [
    {
      "localRoot": "${workspaceFolder}",
      "remoteRoot": "."
    }
  ]
}

Metadata

Metadata

Labels

area-debuggingbugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions