Scenario:
- Build js sources > js_build.js with sourcemaps js_build.js.map
- In IntelliJ run tests against js_build.js
- All tests pass, config works
- breakpoints in test files work
Question: How to get breakpoints in app source files working?
I believe I need to use sourcemaps in IntelliJ to remap built bundle back to sources, but I have not found a way to do it.
Karma.conf.js:
files: {[
'js_build.js',
{pattern: 'src/main/webapp/**/*.html', watched: false, included: false, served: true},
{pattern: 'src/main/webapp/**/*Test.js', included: true}
]}