{"action":"created","issue":{"url":"https://api.github.com/repos/brython-dev/brython/issues/123","labels_url":"https://api.github.com/repos/brython-dev/brython/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/brython-dev/brython/issues/123/comments","events_url":"https://api.github.com/repos/brython-dev/brython/issues/123/events","html_url":"https://github.com/brython-dev/brython/issues/123","id":56184781,"number":123,"title":"ahead-of-time compilation, including source maps, for faster import time and better debugging","user":{"login":"glyph","id":716529,"avatar_url":"https://avatars.githubusercontent.com/u/716529?v=3","gravatar_id":"","url":"https://api.github.com/users/glyph","html_url":"https://github.com/glyph","followers_url":"https://api.github.com/users/glyph/followers","following_url":"https://api.github.com/users/glyph/following{/other_user}","gists_url":"https://api.github.com/users/glyph/gists{/gist_id}","starred_url":"https://api.github.com/users/glyph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glyph/subscriptions","organizations_url":"https://api.github.com/users/glyph/orgs","repos_url":"https://api.github.com/users/glyph/repos","events_url":"https://api.github.com/users/glyph/events{/privacy}","received_events_url":"https://api.github.com/users/glyph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-02-02T00:11:55Z","updated_at":"2015-02-11T00:08:17Z","closed_at":null,"body":"I've been trying to debug #121 and it has been very challenging to do so because it's not possible to get a JavaScript debugger to set a breakpoint in a Python file.\r\n\r\nIf you could easily do ahead-of-time compilation (emitting, let's say, `.pyc.js` files next to the `.py` files), it would at least be possible to set breakpoints in the generated JavaScript source.  Even better, with pre-generated source files we could potentially have [source maps](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/) which would facilitate actually debugging Python code with a JavaScript debugger.\r\n\r\nIs this already possible?  I searched the documentation, but maybe I'm just not looking for the right string."},"comment":{"url":"https://api.github.com/repos/brython-dev/brython/issues/comments/73811775","html_url":"https://github.com/brython-dev/brython/issues/123#issuecomment-73811775","issue_url":"https://api.github.com/repos/brython-dev/brython/issues/123","id":73811775,"user":{"login":"glyph","id":716529,"avatar_url":"https://avatars.githubusercontent.com/u/716529?v=3","gravatar_id":"","url":"https://api.github.com/users/glyph","html_url":"https://github.com/glyph","followers_url":"https://api.github.com/users/glyph/followers","following_url":"https://api.github.com/users/glyph/following{/other_user}","gists_url":"https://api.github.com/users/glyph/gists{/gist_id}","starred_url":"https://api.github.com/users/glyph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glyph/subscriptions","organizations_url":"https://api.github.com/users/glyph/orgs","repos_url":"https://api.github.com/users/glyph/repos","events_url":"https://api.github.com/users/glyph/events{/privacy}","received_events_url":"https://api.github.com/users/glyph/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T00:08:17Z","updated_at":"2015-02-11T00:08:17Z","body":"On the performance side of things I think this is closely related to #117 ."}}