Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] ide configuration via xdebug.file_link_format adds redundant slash #40292

@markwatney2016

Description

@markwatney2016

Symfony version(s) affected: 4.4.16

Description

Setting the framework.ide configuration via xdebug.file_link_format (recommended on https://symfony.com/doc/current/reference/configuration/framework.html#ide) adds a redundant slash at the beginning of the file path. This prevents e.g. PhpStorm zu open the particular file.

How to reproduce

  1. Set this configuration in php.ini file:

xdebug.file_link_format="phpstorm://open?url=file:%f&line=%l"

  1. Klick e.g. on the link to the Controller class in Symfony's toolbar.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions