eclipse-pdt / pdt

PHP Development Tools project (PDT)
https://eclipse.org/pdt
Eclipse Public License 2.0
189 stars 46 forks source link

Path Mapping at remote debugging with the XDebug #145

Open older777 opened 1 year ago

older777 commented 1 year ago

Sorry if I was mistaken. There is some bug in Eclipse IDE PDT and remote XDEBUG. No path mapping if server path is '/var/www/html', any breakpoints doesn't work.

In the xdebug.log Eclipse setting wrong path, still getting my local path of project _breakpointset -i 10 -t line -f file:///home/art/eclipse-workspace/mini-local/info.php -n 4 (please look at pics)

Remote debugging works fine when remote path on the server changed to other something like '/var/www/html2' and then breakpoints and path mapping works properly.

Is here some magics with a '/var/www/html' path?

Eclipse IDE for PHP Developers (includes Incubating components) Version: 2022-12 M2 (4.26.0 M2) Build id: 20221027-1344

Linux Mint Linux Mint 21.1 (5.15.0-60-generic)

Expected behavior breakpoint_set file name should be set properly on '/var/www/html'.

Screenshots '/var/www/html' no path mapping image image

'/var/www/html2' path mapping works fine image image