New in Symfony 2.4: Quicker Access to the Profiler when working on an API
Contributed by
Adrien Brault
in #9342.
In the development environment, the profiler, the web profiler, and the web
debug toolbar are enabled by default. But when working on an API, you spend
more time in the console introspecting the HTTP responses as plain text than in
a browser. In that case, getting the profile URL associated with the current
request/response message is a bit cumbersome; the X-Debug-Token
header
gives you the profiler unique identifier, but it's then up to you to open a
browser and remember the hostname and the path to the Symfony profiler.
As of Symfony 2.4, the profile full URL is available in the
X-Debug-Token-Link
header. No big deal, but it makes things as easy as they
should be.
As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.
New in Symfony 2.4: Quicker Access to the Profiler when working on an API symfony.com/blog/new-in-symfony-2-4-quicker-access-to-the-profiler-when-working-on-an-api
Tweet thisComments
It will be easier to solve issues about Profile Url on Symfony2 shortcut chrome extension
Congrats too
https://chrome.google.com/webstore/detail/symfony2-profiler-shortcu/denlhphadllhcolhlbbbjmhkgbknmmon
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.
Clement Herreman said on Nov 4, 2013 at 17:48 #1