Hi.
I have a web extension talking to other parts of application through Native Host written in C++. I’m injecting an extension as a temporary the same way the tools do it. I execute script that calls
Blockquote
*const {addonMgr} = ChromeUtils.import( *
- “resource://gre/modules/AddonManager.jsm”);*
AddonManager.installTemporaryAddon(file);
I try to debug my extension in real time in the interaction with other parts of application. It is very hard to do it through UI in about:debugging, as other parts of Application can already run ahead.
How I can start my temporary loaded web extension in the Debug mode from the start of its temporary loading using code or cmd-line options? Firefox 68, firefox 78.
Thanks, Arkady