Skip to content

Commit 5bf980c

Browse files
authored
Create VSCode launch.json and add config for debugging tests
1 parent 74e5fc2 commit 5bf980c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.vscode/launch.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Debug current test",
9+
"cwd": "${workspaceFolder}",
10+
"program": "${workspaceFolder}/node_modules/.bin/ava",
11+
"args": ["debug", "--port", "9287", "${file}"],
12+
"request": "launch",
13+
"port": 9287,
14+
"skipFiles": ["<node_internals>/**"],
15+
"type": "pwa-node"
16+
}
17+
]
18+
}

0 commit comments

Comments
 (0)