Skip to content

Add source mapping feature #14

@hostaway-greg

Description

@hostaway-greg

Is your feature request related to a problem?

My project is a PHP project. I am using PHPStorm.
In my organization, we deploy code to a directory then update a symlink so that nginx picks up new files to the server. Because of that, path to a file contains a prefix like: /releases/RC_20241113_2984/<path_in_project>. That makes it not clickable in PHPStorm. Can you add an option to do some kind of path mapping so that I can click on files in the stack trace?

Describe the solution you'd like

Add an option to add path mapping including regular expression so that I can map paths with prefix like /releases/RC_20241113_2984/ to files in the project.
Minimal acceptable solution: add options to just search and replace on regexp so that I could remove/replace that.

Additional context

I am assuming that paths in the stack trace are clickable? If not, can you add that option ? I see that URL is clickable in the stack trace view.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions