Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Symfony2 Essentials

You're reading from   Symfony2 Essentials

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher
ISBN-13 9781784398767
Length 158 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

The Symfony2 profiler


The profiler information is collected and stored within the cache directory and stored in simple serialized data files. You can access them by the token generated, and they will persist as long as the file exists in the cache folder.

The Web Debug Toolbar is displayed only in the development mode. If you run your configuration in the production mode, it will not be displayed, and it is not recommended to change this setting.

After you log in, you should notice changes in the form section and in the database section. Click on the form section to see something similar to this:

This is one of the most useful screens while debugging to check what went wrong with the form object. In the middle column, you have exposed all the form widgets that have been applied to. In the right column, you have information about the passed objects, model, and submitted data.

This section is most useful while checking why the form did not validate properly. So let's try to generate some errors...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image