Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
karthiknadig opened this issue Jan 10, 2020 · 1 comment
Closed

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

karthiknadig opened this issue Jan 10, 2020 · 1 comment
Assignees
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug

Comments

@karthiknadig
Copy link
Member

karthiknadig commented Jan 10, 2020

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": "."
    }
  ]
}
@karthiknadig karthiknadig added bug Issue identified by VS Code Team member as probable bug triage-needed Needs assignment to the proper sub-team labels Jan 10, 2020
@karthiknadig karthiknadig self-assigned this Jan 10, 2020
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Jan 10, 2020
@luabud luabud added this to the 2020 January Sprint milestone Jan 15, 2020
@karrtikr karrtikr self-assigned this Jan 30, 2020
@karrtikr
Copy link

The expected config is generated by default in launch.json.

@ghost ghost removed the needs PR label Jan 30, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-debugging bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

4 participants