Hey @adrian this is a bit special, but maybe it's an easy fix, I don't know 🙂
I love these direct IDE links in dumps that open up the file in question right in my IDE when clicked:
The problem is that @Sanyaissues and I have been working on improving RockMigrations deployments and Michael also suggested to put all PW files into /public
This leads to a folder structure like this:
/Users/bernhard/projectx
/public
/site
/wire
/src
foo.latte
bar.latte
When I set localRootPath to /Users/bernhard/projectx/public/ links for files inside the PW root work (eg /site/ready.php)
BUT links for files to /src/foo.latte do not 😞 I have all my latte files outside of /public. Also all assets (css/js) are in the /src folder and then compiled, merged and minified via RockDevTools to /public/dst
I was hesitant to go with such a setup at first because I was expecting issues. I already had to refactor my modules to support that setup and there are likely some spots still to fix. But I think it is a great setup and it is worth the effort.
What do you think? Is that something you could support for tracy debugger as well? Maybe it's just do add a new (optional) setting like "projectRoot" so that paths to can properly be rewritten:
/var/www/html/src/foo.latte
/Users/bernhard/projectx/src/foo.latte
/var/www/html/public/site/ready.php
/Users/bernhard/projectx/public/site/ready.php
At the moment the result is this:
/var/www/html/src/foo.latte
/var/www/html/src/foo.latte
/var/www/html/public/site/ready.php
/Users/bernhard/projectx/public/site/ready.php
I guess it's because it does not find $config->paths->root in the filename and thus does not apply a str_replace?
Thx a lot in advance 🙂