{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/5006","labels_url":"https://api.github.com/repos/facebook/react-native/issues/5006/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/5006/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/5006/events","html_url":"https://github.com/facebook/react-native/issues/5006","id":124104946,"number":5006,"title":"Add a flag to discriminate between debug and release builds in JS code","user":{"login":"scouten","id":158391,"avatar_url":"https://avatars.githubusercontent.com/u/158391?v=3","gravatar_id":"","url":"https://api.github.com/users/scouten","html_url":"https://github.com/scouten","followers_url":"https://api.github.com/users/scouten/followers","following_url":"https://api.github.com/users/scouten/following{/other_user}","gists_url":"https://api.github.com/users/scouten/gists{/gist_id}","starred_url":"https://api.github.com/users/scouten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scouten/subscriptions","organizations_url":"https://api.github.com/users/scouten/orgs","repos_url":"https://api.github.com/users/scouten/repos","events_url":"https://api.github.com/users/scouten/events{/privacy}","received_events_url":"https://api.github.com/users/scouten/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-28T18:34:54Z","updated_at":"2015-12-28T21:27:22Z","closed_at":"2015-12-28T21:27:22Z","body":"I'd like to add additional UI to my app's debug build to monitor HTTP traffic and other performance characteristics. (Think of this as akin to the frame rate monitor.)\r\n\r\nI can't find a suitable hook that I can use in my JS code to enable this for debug builds only. Is there one? If not, please consider adding one.\r\n\r\nI'm a RN newbie; please forgive if this already exists. (A link to documentation would be much appreciated if so.)"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/167661331","html_url":"https://github.com/facebook/react-native/issues/5006#issuecomment-167661331","issue_url":"https://api.github.com/repos/facebook/react-native/issues/5006","id":167661331,"user":{"login":"ide","id":379606,"avatar_url":"https://avatars.githubusercontent.com/u/379606?v=3","gravatar_id":"","url":"https://api.github.com/users/ide","html_url":"https://github.com/ide","followers_url":"https://api.github.com/users/ide/followers","following_url":"https://api.github.com/users/ide/following{/other_user}","gists_url":"https://api.github.com/users/ide/gists{/gist_id}","starred_url":"https://api.github.com/users/ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ide/subscriptions","organizations_url":"https://api.github.com/users/ide/orgs","repos_url":"https://api.github.com/users/ide/repos","events_url":"https://api.github.com/users/ide/events{/privacy}","received_events_url":"https://api.github.com/users/ide/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T21:27:22Z","updated_at":"2015-12-28T21:27:22Z","body":"@philikon's answer is right "}}