tracesnippet logs arguments in the document rather than in a content script.
You can use the
tracesnippet for testing and debugging. For example, with the
tracesnippet, you can verify that snippet injection into a document works without errors.
tracesnippet accepts the same arguments as the
console.log()method. For more information, view Mozilla's
The following table lists examples that use the
In debug mode, the string
DEBUGprecedes each snippet logged by