This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
VS Code - debugging tests - cannot connect to runtime process, timeout after 10000 ms #209
Closed
Description
Is this a bug report?
Yes
Can you also reproduce the problem with npm 4.x?
Yes
Which terms did you search for in User Guide?
react-scripts-ts vs code debug
react-scripts-ts vs code debug tests
typescript jest vs code Cannot connect to runtime process, timeout after 10000 ms
vs code Cannot connect to runtime process, timeout after 10000 ms
...
Environment
node -v
: 8.9.1npm -v
: 5.5.1yarn --version
(if you use Yarn):npm ls react-scripts-ts
(if you haven’t ejected): 2.8.0
Then, specify:
- Operating system: Windows 10
- Browser and version (if relevant): -
Steps to Reproduce
- create project with create-react-app --scripts-version=react-scripts-ts
- set debugging tests
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug CRA Tests",
"type": "node",
"request": "launch",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/react-scripts-ts",
"runtimeArgs": [
"--inspect-brk",
"test"
],
"args": [
"--runInBand",
"--no-cache"
],
"cwd": "${workspaceRoot}",
"protocol": "inspector",
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
]
}
- run debugging test in VS Code
Expected Behavior
It should start the debugging of tests.
Actual Behavior
Metadata
Metadata
Assignees
Labels
No labels