puppeteer/docs
Zeke Lu 0b717000ac
docs: prevent truncating of long messages with DEBUG_MAX_STRING_LENGTH=null (#9587)
<!-- Thanks for submitting a pull request! Please provide enough
information so that others can review your pull request. -->

**What kind of change does this PR introduce?**

It changes the docs.

**Did you add tests for your changes?**

No.

**If relevant, did you update the documentation?**

Yes.

**Summary**

When logging the DevTools protocol traffic, the default value of
`maxStringLength` is 10000. Messages longer than that will be truncated.
This change adds an example to show how to remove the limitation with
`DEBUG_MAX_STRING_LENGTH=null`.

See https://nodejs.org/api/util.html#util_util_inspect_object_options.

**Does this PR introduce a breaking change?**

No.

**Other information**

None.
2023-01-26 06:39:22 +00:00
..
api feat(page): Adding support for referrerPolicy in page.goto (#9561) 2023-01-23 11:11:20 +00:00
assets chore: rename image assets 2020-06-02 15:24:25 +02:00
guides docs: prevent truncating of long messages with DEBUG_MAX_STRING_LENGTH=null (#9587) 2023-01-26 06:39:22 +00:00
chromium-support.md chore: release main (#9501) 2023-01-23 17:48:02 +01:00
contributing.md feat(chromium): roll to Chromium 109.0.5412.0 (r1069273) (#9364) 2022-12-07 14:54:00 +01:00
faq.md docs: improve docs (#9179) 2022-10-28 08:49:28 +02:00
index.md docs: Update obsolete example (#9120) 2023-01-17 16:04:48 +01:00
troubleshooting.md docs: update cloud functions doc (#9570) 2023-01-24 13:03:03 +00:00