Chrome Sources tab not showing typescript code, so unable to debug.
kumargandhi opened this issue · comments
Hi,
Thank you for this starter this really helped me to understand module loader and build system.
Issue:
When i tried to debug i only see JavaScript code in the Chrome browser but not the TypeScript code.
you can also debug during test, see here
I do not see source/app in my console and in the config file !!.
Anyways i figured out the problem. I changed the write settings for my sourcemaps. They were not properly set. https://www.npmjs.com/package/gulp-sourcemaps
## includeContent: false, sourceRoot: '../../'
you didn't provide me with any reproducables so I tested it using latest starter, and the sourcemap is working.
maybe your browser didn't support inline sourcemap yet or using old starter, setting ../..
may not work on nested component by the way
Hi @antonybudianto ,
You are correct and i am wrong, I checked the starter again it had changes - typescript compile.
It's working.
For the record the issue was includeContent: false, setting it to true worked.
Does this have any impact on production build.
Thank you.
sourcemap will not affect production build