-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug CRA Tests stopped working on v1.19 #40293
Comments
The launch config at https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#debugging-tests-in-visual-studio-code is wrong (but it worked by accident because VS Code had a bug in previous versions).
Just try this:
|
Thanks for the swift response @weinand. The configuration above worked fine with VS Code 1.19. |
@amadeogallardo that configuration should work fine for all versions of VS Code. |
The launch configuration code provided is not compatible with VSCode since version 1.19. The proposed documentation change is based on the response by a VSCode team member. References: facebook#3602 (comment) microsoft/vscode#40293 (comment)
The launch configuration code provided is not compatible with VSCode since version 1.19. The proposed documentation change is based on the response by a VSCode team member. References: #3602 (comment) microsoft/vscode#40293 (comment)
Steps to Reproduce:
test
scripts and eventually fires a timeouttest
scripts and properly attaches to the debuggerNote: 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:
facebook/create-react-app#3602
Reproduces without extensions: Yes
The text was updated successfully, but these errors were encountered: