Scott
Scott

Reputation: 3019

How to debug a content-script loaded in Firefox extention

I've created a firefox addon from an angularjs application I made previously. I'm injecting this app into the extention as a content script so I can make XHR requests to an API. However I do not seem to be able to debug the content scripts when I run the app using JPM. The docs mention mention a caveat about debugging content scripts here it doesn't explain how to actually debug them.

I feel I'm just missing something obvious. I was able to debug the add-on the first time I loaded it. But not since. Any help would be appreciated

Upvotes: 2

Views: 633

Answers (1)

Ravin Singh D
Ravin Singh D

Reputation: 893

The Content script you can debug in firebug itself. once you load the page check the firebug script list it will listed on that.

Upvotes: 1

Related Questions