{"action":"created","issue":{"url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/1328","repository_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter","labels_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/1328/labels{/name}","comments_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/1328/comments","events_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/1328/events","html_url":"https://github.com/AngularClass/angular2-webpack-starter/issues/1328","id":198316169,"number":1328,"title":"Sourcemaps are no longer correct, since v5.2.0, impossible to debug code.","user":{"login":"WillooWisp","id":3296485,"avatar_url":"https://avatars.githubusercontent.com/u/3296485?v=3","gravatar_id":"","url":"https://api.github.com/users/WillooWisp","html_url":"https://github.com/WillooWisp","followers_url":"https://api.github.com/users/WillooWisp/followers","following_url":"https://api.github.com/users/WillooWisp/following{/other_user}","gists_url":"https://api.github.com/users/WillooWisp/gists{/gist_id}","starred_url":"https://api.github.com/users/WillooWisp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillooWisp/subscriptions","organizations_url":"https://api.github.com/users/WillooWisp/orgs","repos_url":"https://api.github.com/users/WillooWisp/repos","events_url":"https://api.github.com/users/WillooWisp/events{/privacy}","received_events_url":"https://api.github.com/users/WillooWisp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"d3viant0ne","id":8420490,"avatar_url":"https://avatars.githubusercontent.com/u/8420490?v=3","gravatar_id":"","url":"https://api.github.com/users/d3viant0ne","html_url":"https://github.com/d3viant0ne","followers_url":"https://api.github.com/users/d3viant0ne/followers","following_url":"https://api.github.com/users/d3viant0ne/following{/other_user}","gists_url":"https://api.github.com/users/d3viant0ne/gists{/gist_id}","starred_url":"https://api.github.com/users/d3viant0ne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3viant0ne/subscriptions","organizations_url":"https://api.github.com/users/d3viant0ne/orgs","repos_url":"https://api.github.com/users/d3viant0ne/repos","events_url":"https://api.github.com/users/d3viant0ne/events{/privacy}","received_events_url":"https://api.github.com/users/d3viant0ne/received_events","type":"User","site_admin":false},"assignees":[{"login":"d3viant0ne","id":8420490,"avatar_url":"https://avatars.githubusercontent.com/u/8420490?v=3","gravatar_id":"","url":"https://api.github.com/users/d3viant0ne","html_url":"https://github.com/d3viant0ne","followers_url":"https://api.github.com/users/d3viant0ne/followers","following_url":"https://api.github.com/users/d3viant0ne/following{/other_user}","gists_url":"https://api.github.com/users/d3viant0ne/gists{/gist_id}","starred_url":"https://api.github.com/users/d3viant0ne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3viant0ne/subscriptions","organizations_url":"https://api.github.com/users/d3viant0ne/orgs","repos_url":"https://api.github.com/users/d3viant0ne/repos","events_url":"https://api.github.com/users/d3viant0ne/events{/privacy}","received_events_url":"https://api.github.com/users/d3viant0ne/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2017-01-02T10:18:43Z","updated_at":"2017-01-15T23:40:48Z","closed_at":null,"body":"**Note: for support questions, please use one of these channels:** [Chat: AngularClass.slack](http://angularclass.com/member-join/) or [Twitter: @AngularClass](https://twitter.com/AngularClass)\r\n\r\n* **I'm submitting a ...**\r\n[X ] bug report\r\n[ ] feature request\r\n[ ] question about the decisions made in the repository\r\n\r\n* **Do you want to request a *feature* or report a *bug*?**\r\nBug\r\n\r\n\r\n* **What is the current behavior?**\r\nSourcemaps are no longer correct, since v5.2.0 (AOT support) when debugging TypeScript code, e.g. in browser (Chrome).\r\n\r\n\r\n* **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem** via\r\nhttps://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).\r\n1) Debugging TypeScript code works correctly with sourcemaps in version before v5.2.0 (02716cc21a3f53f62f12aad5ae22c20dbe421048), so try that, e.g. home.component.\r\n2) Debugging in any version after (02716cc21a3f53f62f12aad5ae22c20dbe421048) does not work as expected. Breakpoints are hit in incorrect locations and cannot be set in others.\r\n\r\n\r\n\r\n* **What is the expected behavior?**\r\nCorrect sourcemaps for debugging with TypeScript.\r\n\r\n\r\n* **What is the motivation / use case for changing the behavior?**\r\nIt has worked before and must work in order to be productive.\r\n\r\n\r\n* **Please tell us about your environment:**\r\n\r\n- Angular version: 2.0.0-beta.X\r\n- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]\r\nLatest Chrome and Edge browsers. Compiling with npm run start:hmr.\r\n\r\n\r\n* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)\r\n"},"comment":{"url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/comments/272747451","html_url":"https://github.com/AngularClass/angular2-webpack-starter/issues/1328#issuecomment-272747451","issue_url":"https://api.github.com/repos/AngularClass/angular2-webpack-starter/issues/1328","id":272747451,"user":{"login":"kclay","id":744419,"avatar_url":"https://avatars.githubusercontent.com/u/744419?v=3","gravatar_id":"","url":"https://api.github.com/users/kclay","html_url":"https://github.com/kclay","followers_url":"https://api.github.com/users/kclay/followers","following_url":"https://api.github.com/users/kclay/following{/other_user}","gists_url":"https://api.github.com/users/kclay/gists{/gist_id}","starred_url":"https://api.github.com/users/kclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kclay/subscriptions","organizations_url":"https://api.github.com/users/kclay/orgs","repos_url":"https://api.github.com/users/kclay/repos","events_url":"https://api.github.com/users/kclay/events{/privacy}","received_events_url":"https://api.github.com/users/kclay/received_events","type":"User","site_admin":false},"created_at":"2017-01-15T23:40:48Z","updated_at":"2017-01-15T23:40:48Z","body":"You can also use the `SourceMapDevToolPlugin` plugin\r\n```js\r\nconst SourceMapDevToolPlugin= require('webpack/lib/SourceMapDevToolPlugin');\r\n\r\nplugins[\r\n...\r\nnew SourceMapDevToolPlugin()\r\n...\r\n]\r\n```\r\n\r\nThis worked for me"}}
{"actor":{"display_login":"kclay"}}