{"action":"created","issue":{"url":"https://api.github.com/repos/falconry/falcon/issues/517","labels_url":"https://api.github.com/repos/falconry/falcon/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/falconry/falcon/issues/517/comments","events_url":"https://api.github.com/repos/falconry/falcon/issues/517/events","html_url":"https://github.com/falconry/falcon/pull/517","id":68934860,"number":517,"title":"Debug server -- rough draft","user":{"login":"csojinb","id":6509003,"avatar_url":"https://avatars.githubusercontent.com/u/6509003?v=3","gravatar_id":"","url":"https://api.github.com/users/csojinb","html_url":"https://github.com/csojinb","followers_url":"https://api.github.com/users/csojinb/followers","following_url":"https://api.github.com/users/csojinb/following{/other_user}","gists_url":"https://api.github.com/users/csojinb/gists{/gist_id}","starred_url":"https://api.github.com/users/csojinb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csojinb/subscriptions","organizations_url":"https://api.github.com/users/csojinb/orgs","repos_url":"https://api.github.com/users/csojinb/repos","events_url":"https://api.github.com/users/csojinb/events{/privacy}","received_events_url":"https://api.github.com/users/csojinb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-04-16T14:22:32Z","updated_at":"2015-08-03T20:10:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/falconry/falcon/pulls/517","html_url":"https://github.com/falconry/falcon/pull/517","diff_url":"https://github.com/falconry/falcon/pull/517.diff","patch_url":"https://github.com/falconry/falcon/pull/517.patch"},"body":"I'm putting this up as a 30% draft for some design feedback. I pulled over the simple server with reloading from werkzeug (with no attention paid yet to having the correct attributions or docstrings or anything) and added the traceback to the response and to the debug log in the console. I also added a simple middleware to drop you into pdb on exception if you want.\r\n\r\nThe usage is Flask-like:\r\n```\r\n# start.py\r\n\r\nfrom things import app\r\n\r\napp.run_dev_server(use_debugger=True)  # use_debugger defaults to False\r\n```\r\n\r\nThere are no tests yet, and the server code may be more than we need. I erred on the side of not removing things from the werkzeug server, as I haven't fully dug into what it's doing yet."},"comment":{"url":"https://api.github.com/repos/falconry/falcon/issues/comments/127393167","html_url":"https://github.com/falconry/falcon/pull/517#issuecomment-127393167","issue_url":"https://api.github.com/repos/falconry/falcon/issues/517","id":127393167,"user":{"login":"kgriffs","id":719939,"avatar_url":"https://avatars.githubusercontent.com/u/719939?v=3","gravatar_id":"","url":"https://api.github.com/users/kgriffs","html_url":"https://github.com/kgriffs","followers_url":"https://api.github.com/users/kgriffs/followers","following_url":"https://api.github.com/users/kgriffs/following{/other_user}","gists_url":"https://api.github.com/users/kgriffs/gists{/gist_id}","starred_url":"https://api.github.com/users/kgriffs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgriffs/subscriptions","organizations_url":"https://api.github.com/users/kgriffs/orgs","repos_url":"https://api.github.com/users/kgriffs/repos","events_url":"https://api.github.com/users/kgriffs/events{/privacy}","received_events_url":"https://api.github.com/users/kgriffs/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T20:10:51Z","updated_at":"2015-08-03T20:10:51Z","body":"See also #25 "}}