{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/427","labels_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/427/comments","events_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/427/events","html_url":"https://github.com/mozilla/thimble.webmaker.org/issues/427","id":34647737,"number":427,"title":"Add an option to insta-embed Firebug Lite","user":{"login":"toolness","id":124687,"avatar_url":"https://avatars.githubusercontent.com/u/124687?v=3","gravatar_id":"","url":"https://api.github.com/users/toolness","html_url":"https://github.com/toolness","followers_url":"https://api.github.com/users/toolness/followers","following_url":"https://api.github.com/users/toolness/following{/other_user}","gists_url":"https://api.github.com/users/toolness/gists{/gist_id}","starred_url":"https://api.github.com/users/toolness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolness/subscriptions","organizations_url":"https://api.github.com/users/toolness/orgs","repos_url":"https://api.github.com/users/toolness/repos","events_url":"https://api.github.com/users/toolness/events{/privacy}","received_events_url":"https://api.github.com/users/toolness/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/milestones/8","html_url":"https://github.com/mozilla/thimble.webmaker.org/milestones/MVP","labels_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/milestones/8/labels","id":1220353,"number":8,"title":"MVP","description":"Everything we need to launch the new Thimble","creator":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-07-22T14:29:55Z","updated_at":"2015-07-22T14:42:03Z","due_on":"2015-08-22T04:00:00Z","closed_at":null},"comments":3,"created_at":"2014-05-30T14:06:29Z","updated_at":"2015-07-22T14:42:26Z","closed_at":null,"body":"So I was [helping a student](https://github.com/toolness/toolness-teaches-coding/commit/625456195b3b13d036dc465d02e62a368d467ff3#commitcomment-6503574) debug their webpage's JavaScript problems and thinking about how weird it is to use a browser's built-in developer tools to debug a Thimble page, since it's hard (especially for novices) to distinguish between e.g. errors/warning/network requests coming from Thimble versus the ones coming from their page. \r\n\r\nBut then I realized that [Firebug Lite](https://getfirebug.com/firebuglite) exists!\r\n\r\nIf the following is added to the very top of a Thimble page, the result is pretty nice:\r\n\r\n```html\r\n<script src=\"https://getfirebug.com/firebug-lite.js#startOpened\"></script>\r\n<script>\r\nwindow.onerror = function(msg, url, line) {\r\n  console.error(msg, \"at\", url, \"line\", line);\r\n};\r\n</script>\r\n```\r\n\r\nSo I'm thinking about writing a teaching kit on debugging JS, and I'm going to put this snippet in there, but then I realized it might actually be really nice to just include a checkbox in Thimble that automatically embeds the snippet for you. Think of it as \"Thimble Developer Tools\".\r\n\r\nAnyways, just a thought."},"comment":{"url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/comments/123745331","html_url":"https://github.com/mozilla/thimble.webmaker.org/issues/427#issuecomment-123745331","issue_url":"https://api.github.com/repos/mozilla/thimble.webmaker.org/issues/427","id":123745331,"user":{"login":"humphd","id":427398,"avatar_url":"https://avatars.githubusercontent.com/u/427398?v=3","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T14:42:26Z","updated_at":"2015-07-22T14:42:26Z","body":"This is *such* a good idea.  Doing this as a Brackets extension is pretty easy. @flukeout, you should consider this with other UX you're doing.  It would be neat to figure out how to enable this for people who want it."}}