Project that uses karma, jasmine, webpack, typescript. And debugs perfectly in vscode.
yarn install
yarn run build
yarn run test
- Keep yarn run test running on a console
- Click on the debug button in karma page of chrome
- Then launch 'Attach Karma Chrome' debug profile in vscode
- Set breakpoints
- Refresh the debug page in chrome
This has been built based on the excellent project: https://github.com/mlewand/karma-and-vscode-debugging