Struggling with debugging my Ionic 2 application and in need of guidance on how to include souceMap for each typescript file that corresponds to the javascript files.
Despite enabling "sourceMap":true
in my tsconfig.json file, the dev tools in Chrome do not display any souceMap file.
https://i.stack.imgur.com/2cGds.png
The content of my tsconfig.json file is as follows:
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"lib": [
"dom",
"es2015"
],
"module": "es2015",
"moduleResolution": "node",
"sourceMap": true,
"target": "es5",
"types": [
"jasmine"
]
},
"include": [
"src/**/*.ts"
],
"exclude": [
"node_modules"
],
"compileOnSave": false,
"atom": {
"rewriteTsconfig": false
}
}
Attempting further troubleshooting, I made adjustments to the ionic.config.json based on this sourcemaps not working for ionic 2, but still encountered no success.
If you have insights on what might be causing this issue, please share. Your assistance is greatly appreciated.