{"action":"created","issue":{"url":"https://api.github.com/repos/csnover/TraceKit/issues/40","labels_url":"https://api.github.com/repos/csnover/TraceKit/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/csnover/TraceKit/issues/40/comments","events_url":"https://api.github.com/repos/csnover/TraceKit/issues/40/events","html_url":"https://github.com/csnover/TraceKit/issues/40","id":122859557,"number":40,"title":"Make it possible to alter `debug`","user":{"login":"benvinegar","id":2153,"avatar_url":"https://avatars.githubusercontent.com/u/2153?v=3","gravatar_id":"","url":"https://api.github.com/users/benvinegar","html_url":"https://github.com/benvinegar","followers_url":"https://api.github.com/users/benvinegar/followers","following_url":"https://api.github.com/users/benvinegar/following{/other_user}","gists_url":"https://api.github.com/users/benvinegar/gists{/gist_id}","starred_url":"https://api.github.com/users/benvinegar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benvinegar/subscriptions","organizations_url":"https://api.github.com/users/benvinegar/orgs","repos_url":"https://api.github.com/users/benvinegar/repos","events_url":"https://api.github.com/users/benvinegar/events{/privacy}","received_events_url":"https://api.github.com/users/benvinegar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T01:43:08Z","updated_at":"2015-12-18T16:04:56Z","closed_at":null,"body":"The `debug` variable is declared as a \"private\" variable inside `TraceKit.computeStackTrace`. It seems the only way to alter it is to edit the source code.\r\n\r\nhttps://github.com/csnover/TraceKit/blob/master/tracekit.js#L319\r\n\r\nCan we make this modifiable, say, via `TraceKit.debug`?"},"comment":{"url":"https://api.github.com/repos/csnover/TraceKit/issues/comments/165816808","html_url":"https://github.com/csnover/TraceKit/issues/40#issuecomment-165816808","issue_url":"https://api.github.com/repos/csnover/TraceKit/issues/40","id":165816808,"user":{"login":"niemyjski","id":1020579,"avatar_url":"https://avatars.githubusercontent.com/u/1020579?v=3","gravatar_id":"","url":"https://api.github.com/users/niemyjski","html_url":"https://github.com/niemyjski","followers_url":"https://api.github.com/users/niemyjski/followers","following_url":"https://api.github.com/users/niemyjski/following{/other_user}","gists_url":"https://api.github.com/users/niemyjski/gists{/gist_id}","starred_url":"https://api.github.com/users/niemyjski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niemyjski/subscriptions","organizations_url":"https://api.github.com/users/niemyjski/orgs","repos_url":"https://api.github.com/users/niemyjski/repos","events_url":"https://api.github.com/users/niemyjski/events{/privacy}","received_events_url":"https://api.github.com/users/niemyjski/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T16:04:56Z","updated_at":"2015-12-18T16:04:56Z","body":"@benvinegar any specific reason for wanting this exposed? I guess for testing your own scripts? I think that we need to expose more things but stay out of property hell. If we have a good use case for this, lets expose it (can you submit a pr)."}}