ruby-debug/ruby-debug-ide — pull request #43 by sugi (2014-04-10 07:03:13+00:00)
Title: Support path translation for remote debugging path name mismatch

This patch add -t --path-translation option to resolve path
mismatch on remote debugging with network mounted filesystem.

For example:

* A ruby app is running on Linux host A under /home/you/app
* You use IDE on Windows to edit the app on network
mounted host A, /home/you to drive H: via samba.

In this case, some IDE can make debug connection, but they
will send break point with local path (H:\app\...).

To resolve this issue, I propose to add path translation
option on rdebug-ide side, like;

rdebug-ide -t '\=/' -t 'H:=/home/you' app/runner

This means replace string in path with two rules
(\ -> / and H: -> /home/you). It make debug works on
IDE that has no path mapping feature.