Debugging

With debug mode and logging enabled, below is an example of the Partytown logs showing all calls, getters and setters:

Partytown Debug Console Logs

The debug config must be true in order to see more verbose logging messages. The config table below lists all of the possible log configurations.

If you are using Chrome DevTools to see these logs, make sure that the Verbose log level is selected in Console

Log Config PropertyDescription
logCallsLog method calls
logGettersLog getter calls
logSettersLog setter calls
logImageRequestsLog Image() src requests
logScriptExecutionLog script executions
logSendBeaconRequestsLog navigator.sendBeacon() requests
logStackTracesLog stack traces

Please see the debug file docs more information about the distribution.

Made with ❤️ by

© 2023 Builder.io, Inc.

Introducing Visual Copilot.

100% free. Supports all popular frameworks.

Try Visual Copilot