mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7719 from open-sausages/pulls/4/docs-debug-toolbar
Docs about debug toolbar
This commit is contained in:
commit
58046a3a3f
@ -6,12 +6,13 @@ This page lists a number of "page options" , "rendering tools" or "special URL v
|
|||||||
SilverStripe applications. These are consumed in PHP using the $_REQUEST or $_GET superglobals throughout the SilverStripe
|
SilverStripe applications. These are consumed in PHP using the $_REQUEST or $_GET superglobals throughout the SilverStripe
|
||||||
core.
|
core.
|
||||||
|
|
||||||
**General Usage**
|
## Debug Toolbar
|
||||||
|
|
||||||
Append the option and corresponding value to your URL in your browser's address bar. You may find the [Firefox UrlParams extension](https://addons.mozilla.org/en-US/firefox/addon/1290) useful in order to debug a POST requests (Like Forms).
|
The easiest way to debug SilverStripe is through the
|
||||||
|
[lekoala/silverstripe-debugbar](https://github.com/lekoala/silverstripe-debugbar) module.
|
||||||
http://yoursite.com/page?option_name=value
|
It similar to the browser "developer toolbar", and adds itself to the bottom of the screen
|
||||||
http://yoursite.com/page?option_1=value&option_2=value
|
when your site is in development mode. It shows you render times, database queries,
|
||||||
|
session variables, used templates and much more.
|
||||||
|
|
||||||
## Templates
|
## Templates
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user