File mappings vsCode for debugging #7443
-
I get: The problem occurs when program hits breakpoint in any file. Using ShowDevDebugOutput attribute im getting: Is there any way to make it work? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Is this WSL1? It's recommended to use WSL2 with files existing under WSL (e.g. under /home/user instead of /mnt/c). |
Beta Was this translation helpful? Give feedback.
-
I found the problem. Thank you for support. |
Beta Was this translation helpful? Give feedback.
I found the problem.
Configuration of ssh part of launch.json used link in the cwd:
" "ssh": {
...
"cwd": "/home/user/<>/common/",
...
}"
Link leads to mnt\c\xyz.
After changing cwd to absolute path on WSL it started to work:
"cwd": "mnt/c/xyz/common/".
No path substitution is necessary right now.
Thank you for support.