-
Notifications
You must be signed in to change notification settings - Fork 18
Debug
Lucas Isasmendi edited this page Oct 10, 2018
·
2 revisions
- create a
launch.json
file - add the following code (per each unit test file) in
configurations
array
{
"type": "node",
"request": "launch",
"name": "iov-keycontrol unit-test userprofile",
"program": "${workspaceRoot}/node_modules/jasmine/bin/jasmine.js",
"args": [
"${workspaceRoot}/packages/iov-keycontrol/build/userprofile.spec.js"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
}
- put the breakpoints in the
packages/iov-keycontrol/src/userprofile.ts
file, press play and voilà