-
-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Description
See jestjs/jest#1652. As of this issue being fixed in Jest and Node 8.4, this should be fixed in create-react-app but I can't get it to work.
Is this a bug report?
Yes
Can you also reproduce the problem with npm 4.x?
Yes
Which terms did you search for in User Guide?
inspect
Environment
node -v: v8.4.0npm -v: 4.6.1 and 5.3.0 (confirmed on both versions)npm ls react-scripts: 1.0.11- Operating system: macOS
- Browser and version: Google Chrome Version 60.0.3112.101 (Official Build) (64-bit)
Steps to Reproduce
- Open chrome://inspect/#devices in Chromium.
- Enable networking and forward
localhost:9229. - Set a
debuggerbreakpoint in a test file. node --inspect-brk node_modules/.bin/react-scripts test- Inspect the target in Chromium.
- Resume script execution.
- Wait for tests to complete/break.
Expected Behavior
Chromium debugger stops on debugger breakpoint.
Actual Behavior
Chromium debugger doesn't stop on breakpoint and remains at the beginning of the script.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels