Skip to content

Commit

Permalink
Document web-ext run --devtools command line argument
Browse files Browse the repository at this point in the history
Document the new command line argument introduced in mozilla/web-ext#2488
  • Loading branch information
ochameau committed Sep 12, 2022
1 parent 0d8d499 commit d986b36
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/content/documentation/develop/web-ext-command-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,18 @@ Environment variable: `$WEB_EXT_BROWSER_CONSOLE=true`

Note: The browser console may not show all debugging output from content-scripts. Use the web console when debugging content-scripts.


#### `--devtools`

This opens the Developer Tools for the installed extension on startup. See [this documentation](https://extensionworkshop.com/documentation/develop/debugging/) for more information. Example:

```shell
web-ext run --devtools
```

Note: The opened Developer Tools may not show all debugging output from content-scripts. Use the web console when debugging content-scripts.
Note #2: This option only works with Firefox 106 and newer.

<section id="--firefox"></section>

#### `--firefox`, `-f`
Expand Down

0 comments on commit d986b36

Please sign in to comment.