Skip to content

Commit de0a9fb

Browse files
Updated Debugging Tests for VSCode
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 de0a9fb

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Diff for: 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)