Appearance
Debug Mode
For troubleshooting, Debug Mode logs console outputs.
Available Endpoints
/v1/render/pdf/sync
/v1/render/screenshot/sync
Enabling Debug Mode
- Set
"debug": true
in the request payload. - Response will include a
consoleOutput
array with log entries.
Request Example
json
{
"debug": true,
"page": {
"goto": {
"url": "https://google.com",
"options": {
"waitUntil": ["networkidle0"]
}
}
}
}
Response Example
json
{
"doppioRequestId": "doppioreq_861a18e6-XXXX-YYYY-a215-2022f757dfa9",
"renderStatus": "SUCCESS",
"documentUrl": "https://storage.googleapis.com/tmp2.doppio.sh/doppioreq_861a18e6-XXXX-YYYY-a215-2022f757dfa9-1738423885343.pdf",
"isAsync": false,
"isCustomBucket": false,
"consoleOutput": [
{
"type": "info",
"text": "Autofocus processing was blocked because a document already has a focused element.",
"location": {
"url": "https://www.google.com/",
"lineNumber": 93
}
}
]
}