Skip to content

Commit 2bc5bed

Browse files
ahinkleweaverryan
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 56b64c0 commit 2bc5bed

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
@@ -176,36 +176,28 @@ To get a list of *all* of the routes in your system, use the ``debug:router`` co
176176
177177
$ php bin/console debug:router
178178
179-
You should see your *one* route so far:
179+
You should see your `app_lucky_number` route at the very top:
180180

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

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

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

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

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

210202
Rendering a Template
211203
--------------------

0 commit comments

Comments
 (0)