The path mapping functionality is really neat. As you know from #275 I have the autoscan functionality disabled and have several projects that support debugging. Because I'm using a consistent folder structure, however, they all map the same path (e.g. /var/www/) to a folder on my host (e.g. /home/user/Projects/myProject).
As you may have deduced, this means I have to overwrite the path map when wanting to debug a new project, as php-debug stores an absolute list of local paths to remote paths.
Is it feasible to add another nesting level in the JSON that just contains a hash of the currently opened project? That would ensure that path maps are automatically separate for each project and remembered as appropriate. This would allow me to configure the same folder and point it to different host folders.
The path mapping functionality is really neat. As you know from #275 I have the autoscan functionality disabled and have several projects that support debugging. Because I'm using a consistent folder structure, however, they all map the same path (e.g.
/var/www/
) to a folder on my host (e.g./home/user/Projects/myProject
).As you may have deduced, this means I have to overwrite the path map when wanting to debug a new project, as php-debug stores an absolute list of local paths to remote paths.
Is it feasible to add another nesting level in the JSON that just contains a hash of the currently opened project? That would ensure that path maps are automatically separate for each project and remembered as appropriate. This would allow me to configure the same folder and point it to different host folders.
Thanks!