What is the proper way to setup a productive dev setup for building and debugging Chrome extensions? I use Chrome Dev Tools but the issues below still make it extremely inefficient for me to build and debug my extension.
1 - There is no way to hot reload the popup without manually launching the extension. This means that every time I make a code change, I have to manually close and reopen the popup to get to the same place.
2 - If there is an error on one of my clicks on the popup, the popup closes and so does the Chrome Dev Tools window and the console where I would see the error. I can find the error on the Extension page, but I lose all the context. How can I see the full stack trace and debug this better?
3 - What is the proper way to trigger service workers for debugging? Again, having to do this manually from my popup makes it very time consuming.
Feel free to point me to other answers, but I couldn't find a good guide that covers the dev productivity aspect. Thanks in advance!
"2 - If there is an error on one of my clicks on the popup, the popup closes and so does the Chrome Dev Tools window and the console where I would see the error. I can find the error on the Extension page, but I lose all the context. How can I see the full stack trace and debug this better?"
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/7d2fbd19-3534-452b-8d7c-d0a703e22086n%40chromium.org.