View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002099 | Xdebug | Uncategorized | public | 2022-06-22 15:38 | 2022-06-22 15:51 |
Reporter | Gladh | Assigned To | derick | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Summary | 0002099: Filename path mapping, when using docker/container/vm | ||||
Description | 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: | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 8.0.10-8.0.19 | ||||
|
https://stackoverflow.com/questions/72713675/filename-path-mapping-when-using-docker-container-vm |
|
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). |