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.
2 parents 663491e + 39affa8 commit dda757eCopy full SHA for dda757e
docs/en/index.rst
@@ -50,6 +50,12 @@ Configuration
50
// Before loading DebugKit
51
Configure::write('DebugKit.forceEnable', true);
52
53
+ You can also provide a callable::
54
+
55
+ Configure::write('DebugKit.forceEnable', function() {
56
+ return $_SERVER['REMOTE_ADDR'] === '192.168.2.182';
57
+ });
58
59
* ``DebugKit.ignorePathsPattern`` - Regex pattern (including delimiter) to ignore paths.
60
DebugKit won't save data for request URLs that match this regex. Defaults to ``null``::
61
0 commit comments