View Issue Details

IDProjectCategoryView StatusLast Update
0002099XdebugUncategorizedpublic2022-06-22 15:51
ReporterGladh Assigned Toderick  
Status acknowledgedResolutionopen 
Summary0002099: Filename path mapping, when using docker/container/vm

If xdebug provides information about files (e.g. stack traces), we can configure the way it works.

But on my host machine, the files have a different location, then on my guest machine. E.g.: /home/me/project/myapp VS /app

My wish is to have a configuration option, where i could replace a prefix filepath with another prefix.

Something like:
xdebug.file_map="/app /home/me/project/myapp"

TagsNo tags attached.
Operating System
PHP Version8.0.10-8.0.19



2022-06-22 15:39

reporter   ~0006332


2022-06-22 15:51

administrator   ~0006333

I am likely going to target this for Xdebug 3.3, in combination with a way to map parts of files as well, to help debugging applications that auto-generate code from templates. This will a fair amount of work as it would involve getting a filter/mapper into all functionality in Xdebug that handles file names (which is nearly everything).

Issue History

Date Modified Username Field Change
2022-06-22 15:38 Gladh New Issue
2022-06-22 15:39 Gladh Note Added: 0006332
2022-06-22 15:51 derick Assigned To => derick
2022-06-22 15:51 derick Status new => acknowledged
2022-06-22 15:51 derick Note Added: 0006333