Skip to content

remote debugger pathMappings issue? is it possible to add more than one mapping? #920

@gerardosabetta

Description

@gerardosabetta

Discussed in microsoft/vscode-python#18976

Originally posted by gerardosabetta April 21, 2022
Hi I'm struggling to add more than one thing to the pathMapping settings when configuring a remote debugger.

This how my coworkers have their pycharm set up
image

So I thought the equivalent would be something like this
image

But it's not working as expected, the breakpoint for the file on the right triggered an error saying "api.py does not exist, do you want to create it" and it was created on the path you can see on the left 👇
image

My initial thought was "it seems like you can only do one map" but this can't be the case, pathMappings expects an array. I must be doing something wrong.

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions