You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.
When the app is built and deployed on the android device using ionic run android debugging is not available. Please note that source map and debugging works fine in the browser. I also upgraded ionic-app-scripts to the latest version 0.0.48 but it did not helped
The text was updated successfully, but these errors were encountered:
I managed to find out what was causing the problem and how to solve it. The problem was that when you're remote debugging on an android device, Chrome debugger cannot access the source map file on the device. The solution/fix is to include the source map inline. To do this I:
added the below to package.json in the root project directory
This is to make the webpack to add source maps inline
changed tsconfig.js line "sourceMap": true,
to "sourceMap": false
This is to disable typescript to create source map file since this is done by webpack
After this change everything seems to be working fine
When the app is built and deployed on the android device using ionic run android debugging is not available. Please note that source map and debugging works fine in the browser. I also upgraded ionic-app-scripts to the latest version 0.0.48 but it did not helped
The text was updated successfully, but these errors were encountered: