Skip to content

Commit 3379448

Browse files
committed
Show example how to set xdebug.file_link_format
1 parent aa457df commit 3379448

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)