Skip to content

Commit c8c63ab

Browse files
committed
minor #15025 Show example how to set xdebug.file_link_format (Nyholm)
This PR was merged into the 4.4 branch. Discussion ---------- Show example how to set xdebug.file_link_format This will fix symfony/symfony#40292 Commits ------- 3379448 Show example how to set xdebug.file_link_format
2 parents aa457df + 3379448 commit c8c63ab

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

reference/configuration/framework.rst

+7-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,13 @@ Since every developer uses a different IDE, the recommended way to enable this
415415
feature is to configure it on a system level. This can be done by setting the
416416
``xdebug.file_link_format`` option in your ``php.ini`` configuration file. The
417417
format to use is the same as for the ``framework.ide`` option, but without the
418-
need to escape the percent signs (``%``) by doubling them.
418+
need to escape the percent signs (``%``) by doubling them::
419+
420+
// example for PhpStorm
421+
xdebug.file_link_format="phpstorm://open?file=%f&line=%l"
422+
423+
// example for Sublime
424+
xdebug.file_link_format="subl://open?url=file://%f&line=%l"
419425

420426
.. note::
421427

0 commit comments

Comments
 (0)