Skip to content

Commit c39b9dc

Browse files
mightyiamsindresorhus
authored andcommitted
docs: recipe to debug with DevTools (#1115)
closes #1117
1 parent bee4a59 commit c39b9dc

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Debugging tests with Chrome DevTools
2+
3+
Use [inspect-process](https://github.com/jaridmargolin/inspect-process) to easily launch a debugging session with Chrome DevTools.
4+
5+
```console
6+
$ npm install --global inspect-process
7+
```
8+
9+
```console
10+
$ inspect node_modules/ava/profile.js some/test/file.js
11+
```

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ $ node --inspect node_modules/ava/profile.js some/test/file.js
181181

182182
### Debugger-specific tips
183183

184+
- [Chrome DevTools](docs/recipes/debugging-with-chrome-devtools.md)
184185
- [WebStorm](docs/recipes/debugging-with-webstorm.md)
185186

186187

@@ -1030,6 +1031,7 @@ It's the [Andromeda galaxy](https://simple.wikipedia.org/wiki/Andromeda_galaxy).
10301031
- [Configuring Babel](docs/recipes/babelrc.md)
10311032
- [Testing React components](docs/recipes/react.md)
10321033
- [JSPM and SystemJS](docs/recipes/jspm-systemjs.md)
1034+
- [Debugging tests with Chrome DevTools](docs/recipes/debugging-with-chrome-devtools.md)
10331035
- [Debugging tests with WebStorm](docs/recipes/debugging-with-webstorm.md)
10341036

10351037
## Support

0 commit comments

Comments
 (0)