Network logs
See an example config here.
Available Options
| Option | Description | Default | Type |
|---|---|---|---|
networkLogs.allowedRequestHeaders | Additional request headers to capture in network logs. Default headers are: ['content-type', 'content-length', 'accept', 'accept-language'] | [] | Array.<string> |
networkLogs.allowedResponseHeaders | Additional response headers to capture in network logs. Default headers are: ['cache-control', 'content-length', 'content-type', 'content-language'] | [] | Array.<string> |
networkLogs.captureRequestBody | Callback function to process/modify request bodies before capturing them. If not provided, the request body will not be captured. | undefined | function |
networkLogs.captureResponseBody | Callback function to process/modify response bodies before capturing them. If not provided, the response body will not be captured. | undefined | function |