{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack/issues/1487","labels_url":"https://api.github.com/repos/webpack/webpack/issues/1487/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack/issues/1487/comments","events_url":"https://api.github.com/repos/webpack/webpack/issues/1487/events","html_url":"https://github.com/webpack/webpack/issues/1487","id":109395326,"number":1487,"title":"Sourcemaps in chrome off by 1 line","user":{"login":"Phoenixmatrix","id":1071928,"avatar_url":"https://avatars.githubusercontent.com/u/1071928?v=3","gravatar_id":"","url":"https://api.github.com/users/Phoenixmatrix","html_url":"https://github.com/Phoenixmatrix","followers_url":"https://api.github.com/users/Phoenixmatrix/followers","following_url":"https://api.github.com/users/Phoenixmatrix/following{/other_user}","gists_url":"https://api.github.com/users/Phoenixmatrix/gists{/gist_id}","starred_url":"https://api.github.com/users/Phoenixmatrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phoenixmatrix/subscriptions","organizations_url":"https://api.github.com/users/Phoenixmatrix/orgs","repos_url":"https://api.github.com/users/Phoenixmatrix/repos","events_url":"https://api.github.com/users/Phoenixmatrix/events{/privacy}","received_events_url":"https://api.github.com/users/Phoenixmatrix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-01T22:12:04Z","updated_at":"2015-10-02T15:53:34Z","closed_at":null,"body":"Using babel loader (and nothing else), and both `inline-source-map` and `source-map`, when setting breakpoints, things are off by one line (eg: if I put a breakpoint on the first line of a function in the original code, once the breakpoint is hit, I'm actually outside of the function. If i put a breakpoint on the second line inside the function, I can inspect the state and everything is as if I was at the first line).\r\n\r\nSeems like there has been similar issues last year that had been fixed. Regression maybe?"},"comment":{"url":"https://api.github.com/repos/webpack/webpack/issues/comments/145069587","html_url":"https://github.com/webpack/webpack/issues/1487#issuecomment-145069587","issue_url":"https://api.github.com/repos/webpack/webpack/issues/1487","id":145069587,"user":{"login":"pmowrer","id":356320,"avatar_url":"https://avatars.githubusercontent.com/u/356320?v=3","gravatar_id":"","url":"https://api.github.com/users/pmowrer","html_url":"https://github.com/pmowrer","followers_url":"https://api.github.com/users/pmowrer/followers","following_url":"https://api.github.com/users/pmowrer/following{/other_user}","gists_url":"https://api.github.com/users/pmowrer/gists{/gist_id}","starred_url":"https://api.github.com/users/pmowrer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmowrer/subscriptions","organizations_url":"https://api.github.com/users/pmowrer/orgs","repos_url":"https://api.github.com/users/pmowrer/repos","events_url":"https://api.github.com/users/pmowrer/events{/privacy}","received_events_url":"https://api.github.com/users/pmowrer/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T15:53:34Z","updated_at":"2015-10-02T15:53:34Z","body":"@Phoenixmatrix Debugging basically the same problem this morning. Most sourcemap configurations appear to be off by one line in Chrome (though trying to step around reveals its off by a lot more off than that). Only `eval` and `sourcemap` seem to work reliably while all of the `cheap` options are busted.\r\n\r\nFirefox appears to get it right for the most part."}}