trait HasDebugging

Methods

debugRequest(callable|null $onRequest = null, bool $die = false)

Debug the final application-owned request.

debugResponse(callable|null $onResponse = null, bool $die = false)

Debug the response before ordinary response middleware.

debug(bool $die = false)

Debug both the request and response.

Details

at line 22
HasDebugging debugRequest(callable|null $onRequest = null, bool $die = false)

Debug the final application-owned request.

Parameters

callable|null $onRequest
bool $die

Return Value

HasDebugging

at line 50
HasDebugging debugResponse(callable|null $onResponse = null, bool $die = false)

Debug the response before ordinary response middleware.

Parameters

callable|null $onResponse
bool $die

Return Value

HasDebugging

at line 81
HasDebugging debug(bool $die = false)

Debug both the request and response.

Raw debugging output may contain credentials or other sensitive values.

Parameters

bool $die

Return Value

HasDebugging