{"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":7,"created_at":"2015-04-16T14:22:32Z","updated_at":"2015-07-02T04:12:48Z","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/117900130","html_url":"https://github.com/falconry/falcon/pull/517#issuecomment-117900130","issue_url":"https://api.github.com/repos/falconry/falcon/issues/517","id":117900130,"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-07-02T04:12:48Z","updated_at":"2015-07-02T04:12:48Z","body":"> (I mean, have the reloader cut out of werkzeug as opposed to having a reloader lib dependency)\r\n\r\nI guess the question is, can we use it as-is, or do we need to make some changes? I kind of like the idea of forking the code rather than requiring werkzeug just for the reloader, but it does mean we take on the maintenance burden. That being said, I can't imagine this part of the code needing many changes in the future.\r\n\r\nIf we do want to fork it, we'll want to acknowledge where it came from (werkzeug, which is MIT licensed, and copyrighted by Lukáš Rychtecký) in a comment in the module or whatever.\r\n\r\n> Thoughts on new repo name:\r\n\r\n`updraft` sounds kinda neat. It fits with the theme, and also makes sense since you are working on a \"draft\" of your project. @jmvrbanac what do you think?"}}