
Description
When creating the launch.json configuration the path like
{ "version": "0.2.0", "inputs": [ { "id": "remote_ip", "type": "promptString", "description": "Enter the remote IP address of the debug server", "default": "localhost" } ], "configurations": [ { "name": "Python Debugger: Remote Attach", "type": "debugpy", "request": "attach", "connect": { "host": "${input:remote_ip}", "port": 5678 }, "pathMappings": [ { "localRoot": "${workspaceFolder}/sound/play_predefined", // "localRoot": "${fileDirname}/..", "remoteRoot": "." } ], }, ] }
with this configuration everything work as a charm but when i use "localRoot": "${fileDirname}/.." the breakpoint are not found in the file but the path is the same, adding a new breakpoint will make that the breakpoints from the localmachine
when i pause the program the breakpoints gets reloaded and magically now founds the path
i just add a new one on the line 20
and the one of the line 13 is found