A Chrome DevTools extension that interfaces with the GrowthBook Javascript and React SDKs.
Features
- View all features and experiments used on the current page
- Override assigned values to test all the different variations
- Override targeting attributes to simulate what different users will see
- Detailed logs explaining exactly why you got assigned a specific value
- Sync changes from devtools to your GrowthBook account (Coming Soon)
- Create visual experiments from within the devtools (Coming Soon)
To build and use this extension locally:
- Run
yarnto install dependencies - Run
yarn buildto create a new build - In Chrome, go to chrome://extensions
- Make sure the "Developer Mode" toggle is on
- Remove any existing GrowthBook devtool extensions
- Click "Load Unpacked Extension" and select the
builddirectory
- Make changes and run
yarn buildagain and it should update in Chrome automatically
To release a new version of the extension to the Chrome Web Store:
- Increment the version in
public/manifest.json - Run
yarn packageto create abuild.zipfile - On the Chrome Web Store Developer Dashboard, go to Packages and upload the
build.zipfile - Add a changelog entry to the description describing your changes
- Save the draft and submit for review
- Make sure to commit and push the changes to GitHub as well
Some notes
- HTML files go into
public/and are copied by the build intodist/ - TS/TSX files go into
src/and are compiled by the build and put intodist/ - Other assets such as icons, images, and the
manifest.jsonare kept inpublic/and also copied intodist/on build
