Debugger in Webstorm for Angular2 AoT - Ahead of Time ?

Anybody did get this to work? If yes, how?

4 comments
Comment actions Permalink

personally, I can't get aot working even for simplest examples (`can't resolve module @angular/core/src/di/opaque_token` error, despite having up-to-date Node version and latest dependencies). If I were a frontend app developer, I'd not bother my head with all this stuff until they release something that works at least with their quickstart app. They break smth with each update

0
Comment actions Permalink

Made it working finally (after re-installing everything and installing the most recent Node 6.9.1).

Do you use Tree Shaking with Rollup to create a bundle, or use a different bundler (webpack, etc.)? With Rollup, after correcting the sourcemap generated by it manually (it sets 'null' as"file"  value) I was able to set breakpoints in generated app.*.js files - but not in original .ts files. The latter are not even loaded in VM (checked with Chrome Dev Tools)

1
Avatar
Permanently deleted user
Comment actions Permalink

I just use standard Ionic 2 and Rollup. They definitely need to fix this. Whom would be the correct one to talk to: WebStorm or Ionic or Angular Team?

0
Comment actions Permalink

I think, it should be Angular Team

0

Please sign in to leave a comment.