In the previous Ionic 2 beta I was able to hit breakpoints and debug in Visual Studio Code. I was also able to see and set breakpoints in the source Typescript files in Chrome if I served from a command line without using VSCode.
Now in Ionc 2 RC0, when I create a new app I can’t see the source Typescript files in Chrome, and I can’t hit breakpoints in Visual Studio Code
I have sourceMap enabled in tsconfig.json and sourceMaps enabled in VSCode’s launch.json.
My guess was it was something related to source map locations, but I’ve tried playing around with sourceRoot in tsconfig.json to no avail.
Put in your package.json "build": "ionic-app-scripts build --dev" under "scripts".
For me works, but only for providers. I don’t see my pages (views) listed in the source.