Skip to content

Commit

Permalink
Add note on debugging with Node inspector (#4120)
Browse files Browse the repository at this point in the history
  • Loading branch information
taion authored and cpojer committed Jul 25, 2017
1 parent ffd43f7 commit bb3babe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/en/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Uh oh, something went wrong? Use this guide to resolve issues with Jest.

Try using the debugging support built into Node.

> Note: Debugging support with Jest only supports `node debug`; it does yet support `node inspect` due to an upstream issue in [nodejs/node#7583](https://github.com/nodejs/node/issues/7593). Until the upstream issue is resolved, debugging with Node is not available when using Node v8.x. For more details, see [facebook/jest#1652](https://github.com/facebook/jest/issues/1652).
Place a `debugger;` statement in any of your tests, and then, in your project's directory, run:

```
Expand Down

0 comments on commit bb3babe

Please sign in to comment.