I am debugging a new extension of mine, Auto SRI Integrity, but something doesn’t seem to be working. I’ve tried using console.log
to print the things I need, but there doesn’t seem to be a way to access the extension console. Currently, I’ve resorted to appending data to the container, which clearly is not the best approach. Is there a way to use the console when debugging an extension?
2 Likes
In Chrome and most Chromium-based browsers, you can click on the dropdown that says “top” to choose a context to debug:
There, you can choose the extension context and debug it:
1 Like
I meant Replit extension, not Chrome extension…
3 Likes
This is how to debug a replit extension? Replit internally just uses an iframe so you would just debug it like one
1 Like