Skip to content
Permalink
Browse files
Recommend skipFiles for VSCode debugging
VSCode steps into native code at each `await` statement.  using skipFiles on node_internals yields a more dev-expected debug experience.
  • Loading branch information
cdaringe authored and novemberborn committed Jan 22, 2018
1 parent cd8c91b commit bcb77fc46dbb77ddb14ac8eda8f2cc7e856c2416
Showing 1 changed file with 6 additions and 0 deletions.
@@ -18,6 +18,9 @@ Add following to the `configurations` object:
"program": "${workspaceRoot}/node_modules/ava/profile.js",
"args": [
"${file}"
],
"skipFiles": [
"<node_internals>/**/*.js"
]
}
```
@@ -47,6 +50,9 @@ By default AVA runs tests concurrently. This may complicate debugging. Add a con
"args": [
"--serial",
"${file}"
],
"skipFiles": [
"<node_internals>/**/*.js"
]
}
```

0 comments on commit bcb77fc

Please sign in to comment.