remote debugger pathMappings
issue? is it possible to add more than one mapping?
#18976
Replies: 3 comments 19 replies
-
@gerardosabetta What you have there seems right. @int19h, @fabioz : Do we log path mapping issues when we enable logs via DAP? Also, should this be moved to |
Beta Was this translation helpful? Give feedback.
-
@gerardosabetta Can you try hovering over the tab with incorrectly mapped path, and check what the tooltip says the path is. |
Beta Was this translation helpful? Give feedback.
-
+1 for me, as I experience the same behavior . Only the first entry in the My system used:
Have you already tracked down where the issue could be to file a bug report? |
Beta Was this translation helpful? Give feedback.
-
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

So I thought the equivalent would be something like this

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 👇

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
Beta Was this translation helpful? Give feedback.
All reactions