Skip to content

Commit

Permalink
Updated Debugging Tests for VSCode (facebook#3605)
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 authored and Timer committed Dec 18, 2017
1 parent 886e6cc commit 660f592
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions 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 660f592

Please sign in to comment.