{"action":"created","issue":{"url":"https://api.github.com/repos/evanw/node-source-map-support/issues/82","labels_url":"https://api.github.com/repos/evanw/node-source-map-support/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/evanw/node-source-map-support/issues/82/comments","events_url":"https://api.github.com/repos/evanw/node-source-map-support/issues/82/events","html_url":"https://github.com/evanw/node-source-map-support/issues/82","id":90992833,"number":82,"title":"How to troubleshoot when it has no effect?","user":{"login":"callumlocke","id":250617,"avatar_url":"https://avatars.githubusercontent.com/u/250617?v=3","gravatar_id":"","url":"https://api.github.com/users/callumlocke","html_url":"https://github.com/callumlocke","followers_url":"https://api.github.com/users/callumlocke/followers","following_url":"https://api.github.com/users/callumlocke/following{/other_user}","gists_url":"https://api.github.com/users/callumlocke/gists{/gist_id}","starred_url":"https://api.github.com/users/callumlocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callumlocke/subscriptions","organizations_url":"https://api.github.com/users/callumlocke/orgs","repos_url":"https://api.github.com/users/callumlocke/repos","events_url":"https://api.github.com/users/callumlocke/events{/privacy}","received_events_url":"https://api.github.com/users/callumlocke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-25T15:17:02Z","updated_at":"2015-06-25T16:18:17Z","closed_at":null,"body":"When I throw an error, the stack trace line points to the built file, not the original one. (It makes no difference if I register source-map-support or not.)\r\n\r\nI think everything is set up as per the instructions: I have a source map next to the built file, and a source mapping comment at the bottom of the built file that points to that source map. And the source map correctly points back to the original file. At the top of my script, I have `require('source-map-support').install();`. But it seems to have no effect.\r\n\r\nOr maybe there is something wrong with my setup, but I can't tell. Is it possible to put source-map-support into some kind of 'strict' mode, so it errors noisily if it fails to find/parse a source map?"},"comment":{"url":"https://api.github.com/repos/evanw/node-source-map-support/issues/comments/115307850","html_url":"https://github.com/evanw/node-source-map-support/issues/82#issuecomment-115307850","issue_url":"https://api.github.com/repos/evanw/node-source-map-support/issues/82","id":115307850,"user":{"login":"callumlocke","id":250617,"avatar_url":"https://avatars.githubusercontent.com/u/250617?v=3","gravatar_id":"","url":"https://api.github.com/users/callumlocke","html_url":"https://github.com/callumlocke","followers_url":"https://api.github.com/users/callumlocke/followers","following_url":"https://api.github.com/users/callumlocke/following{/other_user}","gists_url":"https://api.github.com/users/callumlocke/gists{/gist_id}","starred_url":"https://api.github.com/users/callumlocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callumlocke/subscriptions","organizations_url":"https://api.github.com/users/callumlocke/orgs","repos_url":"https://api.github.com/users/callumlocke/repos","events_url":"https://api.github.com/users/callumlocke/events{/privacy}","received_events_url":"https://api.github.com/users/callumlocke/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T16:18:17Z","updated_at":"2015-06-25T16:18:17Z","body":"I worked it out... I was testing it by doing `throw 'oops'`, i.e. I was throwing a string not an error. This gave a kind of stack trace, but I guess it wasn't a 'real' stack trace so source-map-support couldn't hook into it. Hope this helps someone."}}