Mention OG_HTML_DEBUG flag in contributing (#77)

This commit is contained in:
Steven 2019-04-29 18:02:09 -04:00 committed by GitHub
parent 7e72d518b6
commit adaa1b4204
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -17,3 +17,5 @@ To start hacking, do the following:
5. If necessary, edit the `exePath` in [options.ts](https://github.com/zeit/og-image/blob/master/src/options.ts) to point to your local Chrome executable
Now you're ready to start local development!
You can set an environment variable to assist with debugging `export OG_HTML_DEBUG=1`. This will render the image as HTML so you can play around with your browser's dev tools before committing changes to the template.