View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001937 | Xdebug | Step Debugging | public | 2021-01-22 10:13 | 2021-02-18 12:12 |
Reporter | dinu | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 3.0.2 | ||||
Summary | 0001937: Wrong mapping of symlinked files | ||||
Description | A situation that occurs commonly when i.e. developing composer libraries is that we use "path" type repositories for composer. Let's say I have vendor/lib symlinked to /some/other/path/lib This means I have to include /some/other/path/lib/ in my project for my GUI to pick up the debugged sources. However, this causes confusion and chaos in the development process. What would be needed is that the symlink is not dereferenced when stepping. | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.2.20-7.2.29 | ||||
|
"What would be needed is that the symlink is not dereferenced when stepping." That's not possible. Xdebug only sees the physical absolute path, because that is the only information that PHP provides to it. It can't see the symlink's "link name" at all. If you want to work with symlinked files, you need to set up path mappings in your IDE, similar to mapping remote file paths to local ones. |