Skip to content

Commit 3ae26e9

Browse files
ahinkleGuikingone
authored andcommitted
The profiler-pack is included in the composer package. It can be a bit confusing to the user with the extra stuff showing on the screen.
1 parent d59ec22 commit 3ae26e9

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

page_creation.rst

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -175,36 +175,28 @@ To get a list of *all* of the routes in your system, use the ``debug:router`` co
175175
176176
$ php bin/console debug:router
177177
178-
You should see your *one* route so far:
178+
You should see your `app_lucky_number` route at the very top:
179179

180180
================== ======== ======== ====== ===============
181181
Name Method Scheme Host Path
182182
================== ======== ======== ====== ===============
183183
app_lucky_number ANY ANY ANY /lucky/number
184184
================== ======== ======== ====== ===============
185185

186+
You will also see debugging routes below `app_lucky_number` -- more on the debugging routes in the next section.
187+
186188
You'll learn about many more commands as you continue!
187189

188190
The Web Debug Toolbar: Debugging Dream
189191
--------------------------------------
190192

191193
One of Symfony's *killer* features is the Web Debug Toolbar: a bar that displays
192-
a *huge* amount of debugging information along the bottom of your page while developing.
193-
194-
To use the web debug toolbar, install the Profiler pack first:
195-
196-
.. code-block:: terminal
197-
198-
$ composer require --dev symfony/profiler-pack
199-
200-
As soon as this finishes, refresh your page. You should see a black bar along the
201-
bottom of the page. You'll learn more about all the information it holds along the
202-
way, but feel free to experiment: hover over and click the different icons to get
203-
information about routing, performance, logging and more.
194+
a *huge* amount of debugging information along the bottom of your page while developing. This is all
195+
included out of the box using a package called `symfony/profiler-pack`.
204196

205-
This is also a great example of Flex! After downloading the profiler package,
206-
the recipe created several configuration files so that the web debug toolbar
207-
worked instantly.
197+
You will see a black bar along the bottom of the page.You'll learn more about all the information it holds
198+
along the way, but feel free to experiment: hover over and click
199+
the different icons to get information about routing, performance, logging and more.
208200

209201
Rendering a Template
210202
--------------------

0 commit comments

Comments
 (0)