Skip to content

Debug CRA Tests stopped working on v1.19 #40293

@amadeogallardo

Description

@amadeogallardo
  • VSCode Version: 1.19
  • OS Version: Windows 10

Steps to Reproduce:

  1. Setup a launch configuration as described here: https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#debugging-tests-in-visual-studio-code
  2. Fire the debugger with F5 or play on the debugging panel
  3. The debugger doesn't start the test scripts and eventually fires a timeout
  4. Rollback to version 1.18
  5. Follow steps 1-2
  6. The debugger starts the test scripts and properly attaches to the debugger

Note: the changelog for 1.19 mentions new additions on the debugging experience: https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#debugging-tests-in-visual-studio-code

I'll post the same issue on Create React App since it seems to be tightly related:
react/create-react-app#3602

Reproduces without extensions: Yes

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions