forked from mirrors/probot
Fix docs on debugging
This commit is contained in:
parent
8be66d9bc4
commit
9a217361cc
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue