Skip to content

Commit 81ae0ee

Browse files
authored
Merge pull request #3282 from emadkhan/patch-2
nodemon also supports inspect flag
2 parents d84421a + feb1640 commit 81ae0ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content/3/en/part3c.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ Debugging is also possible with the Chrome developer console by starting your ap
4141
node --inspect index.js
4242
```
4343

44+
You can also pass the `--inspect` flag to `nodemon`:
45+
46+
```bash
47+
nodemon --inspect index.js
48+
```
49+
4450
You can access the debugger by clicking the green icon - the node logo - that appears in the Chrome developer console:
4551

4652
![dev tools with green node logo icon](../../images/3/37.png)

0 commit comments

Comments
 (0)