How do I debug a memory leak in a Firefox WebExtension?

Viewed 766

I have a Firefox WebExtension with a memory leak. My current suspicion is it has to do with messages posted between components of the extension (i.e. with port.postMessage). How do I go about debugging this in Firefox?

I opened the Debug panel on my Temporary Extension, but it doesn't include the memory profiler tool. Does the memory profiler not work for extensions?

1 Answers
Related