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.

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.