Skip to content

Commit

Permalink
Add FAQ about $DEBUG and $DEBUG_HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
lyricnz committed Oct 15, 2021
1 parent 65bf139 commit daf131f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/content/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,3 +493,14 @@ draft: false
```bash
GO111MODULE=on go get github.com/cointop-sh/cointop
```

## How can I get more information when something is going wrong?

Cointop creates a logfile at `/tmp/cointop.log`. Normally nothing is written to this, but if you set the environment variable
`DEBUG=1` cointop will write a lot of output describing its operation. Furthermore, if you set `DEBUG_HTTP=1` it will also
emit lots about every HTTP request that cointop makes to coingecko (backend). Developers may ask for this information
to help diagnose any problems you may experience.

```bash
DEBUG=1 DEBUG_HTTP=1 cointop
```

0 comments on commit daf131f

Please sign in to comment.