Available since: 2.9
searchwp_debug_include_pidView Parameters »
Debugging in SearchWP can be very helpful in a number of ways. By default the debug log is designed to be as meaningful as possible while being terse as well. If you’d like more insight into the debug output SearchWP can also include a process ID alongside each log entry. This is disabled by default as it isn’t globally useful when debugging.
To enable PID inclusion in debug output you can use the following hook:
|// Enable PID output when debugging in SearchWP.
|add_filter( 'searchwp_debug_include_pid', '__return_true' );
Whether the PID should be included in debug output