`console.log`s from Snap's context don't seem to make it to Firefox extension's `background.html` console
Tried in both the published extension and latest develop. Steps to reproduce:
- Load the "template snap" basic MetaMask Snap
- In the
"hello"handler ofonRpcRequest, add aconsole.logbeforereturning - Run the template snap with
yarn start - Go to Settings > Extensions > and Inspect the MetaMask background.html process
- Open
localhost:8080in Firefox - Connect the snap
- Call the "hello" function
- Observe the lack of console.log in the Firefox debugger
We will address this later on when we revisit Firefox testing
Still can't debug in Firefox. Console logging doesn't seem to reach the panel.
Steps I followed:
- Type
about:debuggingin the location bar - Click
Inspecton the "Metamask Flask" add-on.
Any update on this? @eldenpark came to our booth at ETHGlobal Istanbul asking if this is solved
Can confirm this issue still persist.
- Firefox: 123.0 (64-bit)
- MetaMask Flask: 11.10.1flask0
Steps to reproduce: follow ziad-saab 's metamask-snaps-transaction-insights-workshop
Are there any ways to work around with this issue? Happens to me too:
- Firefox: 124.0.1 (64-bit)
- MetaMask Flask: 11.14.0flask0
We do not have a fix for this issue. For now, if you need logging, we recommend testing in Google Chrome.