adding some additional instructions in README for development

This commit is contained in:
silvererudite 2019-10-18 01:25:54 +06:00
parent 3465a1257b
commit 06e9e0322b

View file

@ -21,6 +21,26 @@ For more info, see:
1. `npm install` 1. `npm install`
2. `./node_modules/.bin/web-ext run -s src/` 2. `./node_modules/.bin/web-ext run -s src/`
or
you can also test your changes without having to install web-ext as step #2 above
**Debugging in the browser**
Visit `about:debugging` in your browser.
Then select the option `load temporary Add-on`
and load the extension by selecting any file from the Web Extensions' dir. In our case, e.g. select manifest.json from the src dir.
For reference, [watch this video](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension#Installing)
After you make your changes, simply press the `reload` button to see them in effect.
### Testing ### Testing
TBD TBD