Skip to content

Commit

Permalink
docs: mention that debug option is CLI only
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg committed Dec 11, 2018
1 parent 862ec4c commit 649b530
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/usage/configuration.md
Expand Up @@ -133,6 +133,8 @@ CLI argument: `--debug`

Output debugging information. This can also be enabled by setting the `DEBUG` environment variable to `semantic-release:*`.

**Note**: The `debug` is used only supported via CLI argument. To enable debug mode from the [JS API](../developer-guide/js-api.md#javascript-api) use `require('debug').enable('semantic-release:*')`.

## Git environment variables

| Variable | Description | Default |
Expand Down

0 comments on commit 649b530

Please sign in to comment.