Skip to content

Commit

Permalink
Updated Debugging Tests for VSCode
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
amadeogallardo committed Dec 15, 2017
1 parent bd682de commit de0a9fb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1572,12 +1572,9 @@ Use the following [`launch.json`](https://code.visualstudio.com/docs/editor/debu
"name": "Debug CRA Tests",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
"runtimeArgs": [
"--inspect-brk",
"test"
],
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
"args": [
"test",
"--runInBand",
"--no-cache",
"--env=jsdom"
Expand Down

0 comments on commit de0a9fb

Please sign in to comment.