Debugging
With debug
mode and logging enabled, below is an example of the Partytown logs showing all calls, getters and setters:
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 Property | Description |
---|---|
logCalls | Log method calls |
logGetters | Log getter calls |
logSetters | Log setter calls |
logImageRequests | Log Image() src requests |
logScriptExecution | Log script executions |
logSendBeaconRequests | Log navigator.sendBeacon() requests |
logStackTraces | Log stack traces |
Please see the debug file docs more information about the distribution.