Skip to content

Commit ed5c48c

Browse files
amadeogallardoTimer
authored andcommittedDec 18, 2017
Updated Debugging Tests for VSCode (facebook#3605)
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)
1 parent bd682de commit ed5c48c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
 

‎packages/react-scripts/template/README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -1572,12 +1572,9 @@ Use the following [`launch.json`](https://code.visualstudio.com/docs/editor/debu
15721572
"name": "Debug CRA Tests",
15731573
"type": "node",
15741574
"request": "launch",
1575-
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
1576-
"runtimeArgs": [
1577-
"--inspect-brk",
1578-
"test"
1579-
],
1575+
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
15801576
"args": [
1577+
"test",
15811578
"--runInBand",
15821579
"--no-cache",
15831580
"--env=jsdom"

0 commit comments

Comments
 (0)
Please sign in to comment.