Skip to content

Commit 3a0c0d8

Browse files
[Framework] Update link-to-source mapping definition
1 parent 463f9db commit 3a0c0d8

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

reference/configuration/framework.rst

+8-3
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,11 @@ Since every developer uses a different IDE, the recommended way to enable this
212212
feature is to configure it on a system level. This can be done by setting the
213213
``xdebug.file_link_format`` option in your ``php.ini`` configuration file.
214214

215+
.. tip::
216+
217+
Setting the ``xdebug.file_link_format`` ini option works even if the Xdebug
218+
extension is not enabled.
219+
215220
Alternatively, you can use this ``ide`` configuration key.
216221

217222
In both cases, the expected configuration value is a URL template that contains an
@@ -252,13 +257,13 @@ do something like:
252257

253258
When running your app in a container or in a virtual machine, you can tell
254259
Symfony to map files from the guest to the host by changing their prefix.
255-
This map should be specified at the end of the URL template after a ``#``
256-
using JSON-like key/values::
260+
This map should be specified at the end of the URL template, using ``&`` and
261+
``>`` as guest-to-host separators::
257262

258263
// /path/to/guest/.../file will be opened
259264
// as /path/to/host/.../file on the host
260265
// and /foo/.../file as /bar/.../file also
261-
'myide://%f:%l#"/path/to/guest/":"/path/to/host/","/foo/":"/bar/"...'
266+
'myide://%f:%l&/path/to/guest/>/path/to/host/&/foo/>/bar/&...'
262267

263268
.. versionadded:: 3.2
264269
Guest to host mappings were introduced in Symfony 3.2.

0 commit comments

Comments
 (0)