{"action":"closed","issue":{"url":"https://api.github.com/repos/sassoftware/epdb/issues/7","repository_url":"https://api.github.com/repos/sassoftware/epdb","labels_url":"https://api.github.com/repos/sassoftware/epdb/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/sassoftware/epdb/issues/7/comments","events_url":"https://api.github.com/repos/sassoftware/epdb/issues/7/events","html_url":"https://github.com/sassoftware/epdb/issues/7","id":240630142,"node_id":"MDU6SXNzdWUyNDA2MzAxNDI=","number":7,"title":"Remote debugging fails to connect","user":{"login":"haridsv","id":166486,"node_id":"MDQ6VXNlcjE2NjQ4Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/166486?v=4","gravatar_id":"","url":"https://api.github.com/users/haridsv","html_url":"https://github.com/haridsv","followers_url":"https://api.github.com/users/haridsv/followers","following_url":"https://api.github.com/users/haridsv/following{/other_user}","gists_url":"https://api.github.com/users/haridsv/gists{/gist_id}","starred_url":"https://api.github.com/users/haridsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haridsv/subscriptions","organizations_url":"https://api.github.com/users/haridsv/orgs","repos_url":"https://api.github.com/users/haridsv/repos","events_url":"https://api.github.com/users/haridsv/events{/privacy}","received_events_url":"https://api.github.com/users/haridsv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2017-07-05T12:09:19Z","updated_at":"2018-12-18T15:31:51Z","closed_at":"2018-12-18T15:31:51Z","author_association":"NONE","body":"I installed latest epdb and did a test run. Had a sample file like this:\r\n\r\n```\r\nimport epdb\r\nepdb.serve(port=8124)\r\nprint(\"Hello World\")\r\n```\r\n\r\nStarted this on one terminal:\r\n\r\n```\r\n$ ~/python/bin/python /tmp/t.py\r\nStarting epdb server\r\n```\r\n\r\nWhen I tried to connect to this from another terminal, it kept disconnecting:\r\n\r\n```\r\n$ ~/python/bin/python -c 'import epdb; epdb.connect(port=8124)'\r\n> /tmp/t.py(3)<module>()\r\n-> print(\"Hello World\")\r\n(Epdb) *** Connection closed by remote host ***\r\n```\r\n\r\nOn the server side, I don't see any error. I even tried to put the serve call in an exception block, but there was no exception. \r\n\r\nWhen I used telnet I was able to connect:\r\n\r\n```\r\n telnet localhost 8124\r\nTrying 127.0.0.1...\r\nConnected to localhost.\r\nEscape character is '^]'.\r\n> /tmp/t.py(3)<module>()\r\n-> print(\"Hello World\")\r\n(Epdb)\r\n\r\n(Epdb)\r\n(Epdb)\r\n```\r\n\r\nHowever, this has the issue that pressing `<CR>` ends up sending extra blank line or something like that. E.g., typing `next` ends up running it twice (the second time for the extra blank line), so this is not a very good workaround.\r\n"}}
{"actor":{"display_login":"wfscheper"}}