showing results for - "jest chrome debugger"
Giulia
02 May 2020
1node --inspect-brk node_modules/.bin/jest --runInBand [any other arguments here]
2or on Windows
3node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand [any other arguments here]
4Copy
César
09 May 2020
1{
2  "version": "0.2.0",
3  "configurations": [
4    {
5      "name": "Debug CRA Tests",
6      "type": "node",
7      "request": "launch",
8      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts",
9      "args": ["test", "--runInBand", "--no-cache", "--env=jsdom"],
10      "cwd": "${workspaceRoot}",
11      "protocol": "inspector",
12      "console": "integratedTerminal",
13      "internalConsoleOptions": "neverOpen"
14    }
15  ]
16}
17Copied