Skip to content

Commit a8aa46f

Browse files
committed
Added a section about interactive debugging tools
1 parent 4f52480 commit a8aa46f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

debug.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ configuration is optimized for two main purposes.
1313
* Be as similar as possible as the production environment to avoid problems
1414
when deploying the project.
1515

16+
Using Interactive Debug Tools
17+
-----------------------------
18+
19+
Interactive debug tools allow you to walk through the code step by step,
20+
making it easier to indentify which step is causing problems. Symfony works
21+
with any PHP debug environment, among them:
22+
23+
* Xdebug_, the most well-known PHP debugger;
24+
* PsySH_, a PHP REPL_ (Read-eval-print loop) debugger. Use the
25+
FidryPsyshBundle_ for a dedicated Symfony integration of PsySH.
26+
1627
Disabling the Bootstrap File and Class Caching
1728
----------------------------------------------
1829

@@ -118,3 +129,8 @@ You can also dump values from inside templates:
118129

119130
{# dumps the variable to the web debug toolbar to not modify the template #}
120131
{% dump myVar %}
132+
133+
.. _Xdebug: https://xdebug.org/
134+
.. _PsySH: http://psysh.org/
135+
.. _REPL: https://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop
136+
.. _FidryPsyshBundle: https://github.com/theofidry/PsyshBundle

0 commit comments

Comments
 (0)