Fix docs on debugging

This commit is contained in:
Brandon Keepers 2016-12-06 08:56:37 -06:00
parent 8be66d9bc4
commit 9a217361cc
No known key found for this signature in database
GPG Key ID: F9533396D5FACBF6
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ To test with a real GitHub repository, you'll need to create a test repository a
## Debugging
0. Always run `$ script/bootstrap` and restart the server if package.json has changed.
0. To turn on verbose logging, start server by running ` $ DEBUG=Probot GITHUB_TOKEN=xxx script/server`
0. To turn on verbose logging, start server by running ` $ LOG_LEVEL=debug GITHUB_TOKEN=xxx script/server`
0. To see what requests are going out, enable debugging mode for GitHub client in `/server.js`:
const github = new GitHubApi({