We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e9dc62 commit 43242c5Copy full SHA for 43242c5
README.md
@@ -28,6 +28,15 @@ $app->run($request, $response);
28
29
You don't need to copy any static assets from phpdebugbar vendor!
30
31
+### How to force disable or enable PHP Debug Bar?
32
+
33
+Sometimes you want to have control when show or not PHP Debug Bar:
34
+* custom content negotiation,
35
+* allow to make redirects.
36
37
+We allow you to disable attaching phpdebugbar using `X-Debug-Bar: false` header or cookie.
38
+To force enable just send request with `X-Debug-Bar` header or cookie with `true` value.
39
40
### How to install on Zend Expressive?
41
42
You need to register ConfigProvider and pipe provided middleware:
0 commit comments