In the past few months, I worked on a design to bring path mapping into Xdebug itself, without having to rely on an IDE.
This allows for project defined maps, and goes beyond directory-to-directory maps. It will be able to map files, and line ranges:
xdebug.org/funding/001-na…
Xdebug debugging extension for PHP. Helping PHP developers fixing bugs.
Support @derickr's work: xdebug.org/support
Better news at @[email protected]

