aklinker1 / vite-plugin-web-extension

Vite plugin for developing Chrome/Web Extensions
https://vite-plugin-web-extension.aklinker1.io/
MIT License
541 stars 47 forks source link

Using the svelte dev tools extension. #103

Closed reedHam closed 1 year ago

reedHam commented 1 year ago

Hi, Thanks for your hard work this is a great tool!

Summary

I want to be able to use the svelte dev tools extension.

https://github.com/sveltejs/svelte-devtools

Currently it seems that any extensions installed for my chrome binary are not available when running my project in dev mode.

Any help would be appreciated.

aklinker1 commented 1 year ago

You can install the dev tools in your regular chrome profile, then tell the plugin to use that profile instead of a brand new one:

# <project-root>/.webextrc.yml for one project or ~/.webextrc.yml for all projects
chromiumProfile: "<absolute-path-to-chrome-profile>"

You can find your profile's path at chrome://profile-internals

To learn more, check out the docs.