Mention how to use debuggers
Dan Abramov committed
Dec 7, 2017 at 12:03 UTC
9fa08750c0eea24a5dad89890ac561ee388f9944
1 file changed
+1
.github/PULL_REQUEST_TEMPLATE.md
+1
@@ -5,6 +5,7 @@
5
3. If you've fixed a bug or added code that should be tested, add tests!
6
4. Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development.
7
5. Run `yarn test-prod` to test in the production environment. It supports the same options as `yarn test`.
8
+6. If you need a debugger, run `yarn debug-test --watch TestName`, open `chrome://inspect`, and press "Inspect".
9
6. Format your code with [prettier](https://github.com/prettier/prettier) (`yarn prettier`).
10
7. Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files.
11
8. Run the [Flow](https://flowtype.org/) typechecks (`yarn flow`).