Skip to content

Commit ee9d0e4

Browse files
authored
chore(docs): Updated VSCode debugging instructions (#4952)
1 parent e173954 commit ee9d0e4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,19 @@ yarn validate:all:flow
154154
155155
### Debugging E2E JS Tests (VSCode)
156156
157+
Navigate to your .vscode/launch.json.
158+
159+
Ensure the following exists as a debugging option.
160+
161+
```js
162+
{
163+
"name": "Attach to Process",
164+
"type": "node",
165+
"request": "attach",
166+
"port": 9229
167+
}
168+
```
169+
157170
1. Add a breakpoint in the JS file where you will need to debug.
158171
2. Select the debug icon under 'NPM Scripts' when selecting one of the following scripts...
159172

0 commit comments

Comments
 (0)