Encountering a strange behavior with Ionic2. After deploying my app to a simulator, I am able to view the .ts file sourceMap in the Chrome inspect debugger.
In both scenarios, I use:
ionic run android
https://i.sstatic.net/JarmI.png
However, when deploying my APK on a real device, the "Sources" tab displays a completely different set of directories without any reference to my .ts files.
https://i.sstatic.net/gM0Iq.png
My current environment:
- Running OS X 10.11
- Using Ionic 2 version 2.0.0-beta.35
- Cordova version 6.3.0
The project was initially generated using:
ionic start biblio tutorial --v2
ionic.config.json
{
"name": "biblio",
"app_id": "",
"v2": true,
"typescript": true
}
tsconfig.json
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"emitDecoratorMetadata": true,
"experimentalDecorators": true
},
"filesGlob": [
"**/*.ts",
"!node_modules/**/*"
],
"exclude": [
"node_modules",
"typings/global",
"typings/global.d.ts"
],
"compileOnSave": false,
"atom": {
"rewriteTsconfig": false
}
}
Any thoughts?