Skip to main content

Network logs

See an example config here.

Available Options

OptionDescriptionDefaultType
networkLogs.allowedRequestHeadersAdditional request headers to capture in network logs. Default headers are: ['content-type', 'content-length', 'accept', 'accept-language'][]Array.<string>
networkLogs.allowedResponseHeadersAdditional response headers to capture in network logs. Default headers are: ['cache-control', 'content-length', 'content-type', 'content-language'][]Array.<string>
networkLogs.captureRequestBodyCallback function to process/modify request bodies before capturing them. If not provided, the request body will not be captured.undefinedfunction
networkLogs.captureResponseBodyCallback function to process/modify response bodies before capturing them. If not provided, the response body will not be captured.undefinedfunction