Skip to content

Commit

Permalink
add config to debug tests in vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddykasp committed Oct 13, 2023
1 parent 198fda0 commit 5f6ba06
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,25 @@
"webpack://?:*/*": "${workspaceFolder}/extension/*"
},
"type": "node"
},
{
"args": [
"-u",
"bdd",
"--timeout",
"999999",
"--colors",
"--require", "ts-node/register",
"${workspaceFolder}/test/**/*.ts"
],
"internalConsoleOptions": "openOnSessionStart",
"name": "Debug Mocha Tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"request": "launch",
"skipFiles": [
"<node_internals>/**"
],
"type": "node"
}
]
}

0 comments on commit 5f6ba06

Please sign in to comment.