Skip to content

Commit 81ca22f

Browse files
author
Robert Jackson
authored
Merge pull request #80 from ro0gr/patch-1
Fix "Debugging Workflow" examples
2 parents 455a16b + 55e5c1a commit 81ca22f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,14 +104,14 @@ For more details on node debug, visit the [official](https://nodejs.org/en/docs/
104104
Node.js debugging guide, and for jest documentation on tests, [here](https://jestjs.io/docs/en/cli)
105105
106106
```sh
107-
node --inspect-brk ./node_modules/.bin/codemod-cli -t '<fixture-name>'
107+
node --inspect-brk ./node_modules/.bin/codemod-cli test -t '<fixture-name>'
108108
```
109109
110110
For example, if you want to debug the `null-subexp.input.hbs` fixture or only that particular test case is failing
111111
because of an issue.
112112
113113
```sh
114-
node --inspect-brk ./node_modules/.bin/codemod-cli -t 'null-subexp'
114+
node --inspect-brk ./node_modules/.bin/codemod-cli test -t 'null-subexp'
115115
```
116116
117117
Sometimes we need to use `--runInBand` flag for the debugger statements to be hit when focusing the test with jest

0 commit comments

Comments
 (0)