Ainz Titor
Ainz Titor

Reputation: 1557

Firefox inspect addon's network traffic

I'm using Firefox Developer Edition 60.0b6 on Mac OS X. I'm inspecting an addon (XPI file) developed by someone else with WebExtensions API.

How can I inspect the network traffic from the addon (XHR traffic in particular)? For normal web pages, I can simply open the developer console, but there is no such console for addons (even though addons are just javascripts).

Upvotes: 2

Views: 2622

Answers (1)

Victor Le Pochat
Victor Le Pochat

Reputation: 275

You can enable add-on debugging by visiting about:debugging, and then click Debug for your extension to access the console and inspect network traffic. (see https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Debugging for more information)

Upvotes: 7

Related Questions