View Issue Details

IDProjectCategoryView StatusLast Update
0002399XdebugPath Mappingpublic2026-01-15 12:54
Reporterderick Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status newResolutionopen 
Target Version3.6dev 
Summary0002399: Create xdebug_add_source_map_directory to dynamically add directories where Xdebug will load path mapping files from
Description

Sometimes, a templating system would like to put mapping files in its own cache/compiled_templates directory, and not necessarily in the .xdebug in the root of the project.

Add the xdebug_add_source_map_directory function to add and load new files from the specified directory — when called. The function must also look at already existing breakpoints, and rewrite them with the new file/line for this to be effective.

This ticket comes forth out of https://github.com/twigphp/Twig/pull/4733#pullrequestreview-3654648341

TagsNo tags attached.
Operating System
PHP Version8.5.0-8.5.4

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-01-15 12:53 derick New Issue
2026-01-15 12:54 derick Description Updated