Skip to content

Commit 10bdbe8

Browse files
committed
Add editor preview
1 parent 0639a2c commit 10bdbe8

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

docs/collectors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ And the default collectors:
3939

4040
To enable or disable any of the collectors, set the configuration to `true` or `false`. Some collector have additional options in the configuration:
4141

42-
<details><summary>debugbar.php</summary>
42+
<details><summary>config/debugbar.php</summary>
4343

4444
```php
4545

docs/features.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Tip: you can disable he 'autoshow' toggle in the history tab to keep the current
1515

1616
![AJAX Request](img/ajax.gif)
1717

18-
Configuration:
18+
<details><summary>config/debugbar.php</summary>
19+
1920
```php
2021
/*
2122
|--------------------------------------------------------------------------
@@ -41,6 +42,8 @@ Configuration:
4142

4243
```
4344

45+
</details>
46+
4447
## History browser
4548

4649
By default, Debugbar stores request history. This is useful for non-browser requests, redirects or external requests. You can open it with the 'folder' button (3rd from the right).
@@ -53,7 +56,8 @@ With the default settings, storage is only visible from your local IP. To enable
5356

5457
![History](img/history.gif)
5558

56-
Configuration:
59+
<details><summary>config/debugbar.php</summary>
60+
5761
```php
5862
/*
5963
|--------------------------------------------------------------------------
@@ -83,12 +87,17 @@ Configuration:
8387
],
8488
```
8589

90+
</details>
91+
8692
## Editor integration
8793

8894
Debugbar can open links to views, exception, routes etc in your Editor directly, if you set this up correctly. By default this should just work for PHPStorm on local development. You can change your editor by setting `DEBUGBAR_EDITOR` or the config.
8995
If your working in a remote host or docker, you can change the mapping between remote and local paths.
9096

91-
Configuration:
97+
![History](img/editor.gif)
98+
99+
<details><summary>config/debugbar.php</summary>
100+
92101
```php
93102
/*
94103
|--------------------------------------------------------------------------
@@ -132,4 +141,6 @@ Configuration:
132141
'remote_sites_path' => env('DEBUGBAR_REMOTE_SITES_PATH'),
133142
'local_sites_path' => env('DEBUGBAR_LOCAL_SITES_PATH', env('IGNITION_LOCAL_SITES_PATH')),
134143

135-
```
144+
```
145+
146+
</details>

docs/img/editor.gif

955 KB
Loading

0 commit comments

Comments
 (0)