-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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 VSCode v1.19 #3602
Comments
The VSCode team provided the correct configuration for Here's the verified working code since VSCode 1.19, in case someone runs onto this. Let me know if you would like me to update the documentation (or if someone on the CRA team can do that).
|
Please send a pull request fixing our documentation! 😄 |
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)
Does this still work? Noticed the update in the ReadMe today, was excited to try it out: only to have the debugger not stop at the breakpoints 😢 |
Does your environment match what's shown on the Issue description above? |
Turned out I needed Node@v8+ |
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/create-react-app#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: facebook/create-react-app#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: facebook/create-react-app#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: facebook#3602 (comment) microsoft/vscode#40293 (comment)
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?
Debug CRA Tests in VS Code
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#debugging-tests-in-visual-studio-code
Environment
node -v
:v8.9.1
npm -v
:4.1.2
yarn --version
(if you use Yarn): No yarnnpm ls react-scripts
(if you haven’t ejected):-- (empty)
Then, specify:
Steps to Reproduce
Expected Behavior
Debug CRA Test launch configuration works on VSCode 1.19 (similar to VSCode 1.18).
No changes between VSCode versions, or an updated version of the documentation to setup the launch configuration.
Actual Behavior
References
The changelog for VSCode 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
Issue created on VSCode: microsoft/vscode#40293
The text was updated successfully, but these errors were encountered: