Skip to content

Commit 9911d4d

Browse files
authored
feat(vscode): karma debug profile
this adds a default karma debug profile for vscode
1 parent dcdd0f1 commit 9911d4d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

lib/resources/content/launch-cli.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@
1414
"sourceMapPathOverrides": {
1515
"../src/*": "${webRoot}/*"
1616
}
17+
},
18+
{
19+
"type": "chrome",
20+
"request": "attach",
21+
"name": "Attach Karma Chrome",
22+
"address": "localhost",
23+
"port": 9333,
24+
"sourceMaps": true,
25+
"pathMapping": {
26+
"/": "${workspaceRoot}",
27+
"/base/": "${workspaceRoot}/"
28+
},
29+
"sourceMapPathOverrides": { "../src/*": "${webRoot}/*" }
1730
}
1831
]
1932
}

0 commit comments

Comments
 (0)