Skip to content

Commit 5aa6789

Browse files
authored
Remove --node-arg prefix (fastify#6018)
1 parent 8b37b86 commit 5aa6789

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Guides/Testing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,10 @@ test('should ...', {only: true}, t => ...)
340340
```
341341
2. Run `node --test`
342342
```bash
343-
> node --test --test-only --node-arg=--inspect-brk test/<test-file.test.js>
343+
> node --test --test-only --inspect-brk test/<test-file.test.js>
344344
```
345345
- `--test-only` specifies to run tests with the `only` option enabled
346-
- `--node-arg=--inspect-brk` will launch the node debugger
346+
- `--inspect-brk` will launch the node debugger
347347
3. In VS Code, create and launch a `Node.js: Attach` debug configuration. No
348348
modification should be necessary.
349349

0 commit comments

Comments
 (0)