@@ -212,6 +212,11 @@ Since every developer uses a different IDE, the recommended way to enable this
212
212
feature is to configure it on a system level. This can be done by setting the
213
213
``xdebug.file_link_format `` option in your ``php.ini `` configuration file.
214
214
215
+ .. tip ::
216
+
217
+ Setting the ``xdebug.file_link_format `` ini option works even if the Xdebug
218
+ extension is not enabled.
219
+
215
220
Alternatively, you can use this ``ide `` configuration key.
216
221
217
222
In both cases, the expected configuration value is a URL template that contains an
@@ -252,13 +257,13 @@ do something like:
252
257
253
258
When running your app in a container or in a virtual machine, you can tell
254
259
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 ::
257
262
258
263
// /path/to/guest/.../file will be opened
259
264
// as /path/to/host/.../file on the host
260
265
// 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/& ...'
262
267
263
268
.. versionadded :: 3.2
264
269
Guest to host mappings were introduced in Symfony 3.2.
0 commit comments