{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/438","repository_url":"https://api.github.com/repos/Microsoft/vscode-go","labels_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/438/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/438/events","html_url":"https://github.com/Microsoft/vscode-go/issues/438","id":171534008,"number":438,"title":"When hitting Stop during Debug, it does not always kill debug process","user":{"login":"intdel","id":8001528,"avatar_url":"https://avatars.githubusercontent.com/u/8001528?v=3","gravatar_id":"","url":"https://api.github.com/users/intdel","html_url":"https://github.com/intdel","followers_url":"https://api.github.com/users/intdel/followers","following_url":"https://api.github.com/users/intdel/following{/other_user}","gists_url":"https://api.github.com/users/intdel/gists{/gist_id}","starred_url":"https://api.github.com/users/intdel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intdel/subscriptions","organizations_url":"https://api.github.com/users/intdel/orgs","repos_url":"https://api.github.com/users/intdel/repos","events_url":"https://api.github.com/users/intdel/events{/privacy}","received_events_url":"https://api.github.com/users/intdel/received_events","type":"User","site_admin":false},"labels":[{"id":273065549,"url":"https://api.github.com/repos/Microsoft/vscode-go/labels/bug","name":"bug","color":"fc2929","default":true},{"id":443923947,"url":"https://api.github.com/repos/Microsoft/vscode-go/labels/debug","name":"debug","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"roblourens","id":323878,"avatar_url":"https://avatars.githubusercontent.com/u/323878?v=3","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/received_events","type":"User","site_admin":false},"assignees":[{"login":"roblourens","id":323878,"avatar_url":"https://avatars.githubusercontent.com/u/323878?v=3","gravatar_id":"","url":"https://api.github.com/users/roblourens","html_url":"https://github.com/roblourens","followers_url":"https://api.github.com/users/roblourens/followers","following_url":"https://api.github.com/users/roblourens/following{/other_user}","gists_url":"https://api.github.com/users/roblourens/gists{/gist_id}","starred_url":"https://api.github.com/users/roblourens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblourens/subscriptions","organizations_url":"https://api.github.com/users/roblourens/orgs","repos_url":"https://api.github.com/users/roblourens/repos","events_url":"https://api.github.com/users/roblourens/events{/privacy}","received_events_url":"https://api.github.com/users/roblourens/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2016-08-16T22:34:25Z","updated_at":"2017-02-05T02:40:15Z","closed_at":null,"body":"I am running a web server in Go (1.6) with visual studio code and the most recent plugin:\n\n```\nfunc main() {\n\n    http.HandleFunc(\"/data\", htmlHandler)\n\n    err := http.ListenAndServe(\":8080\", nil)\n    if err != nil {\n        log.Fatal(err)\n    }\n    os.Exit(0)\n}\n```\n\nWhen I hit the stop button on the small debug window, it does not kill the webserver, because after I hit F5 again I get:\n\n>  2016/08/16 15:34:13 server.go:71: Using API v1\n> 2016/08/16 15:34:13 debugger.go:61: launching process with args: [./debug]\n> API server listening at: 127.0.0.1:2345\n> 2016/08/16 15:34:13 debugger.go:393: continuing\n> 2016/08/16 15:34:13 listen tcp :8080: bind: address already in use\n\nSo I will have to look manually for the PID and kill it. Then it works again.\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/comments/277493388","html_url":"https://github.com/Microsoft/vscode-go/issues/438#issuecomment-277493388","issue_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/438","id":277493388,"user":{"login":"ramya-rao-a","id":16890566,"avatar_url":"https://avatars.githubusercontent.com/u/16890566?v=3","gravatar_id":"","url":"https://api.github.com/users/ramya-rao-a","html_url":"https://github.com/ramya-rao-a","followers_url":"https://api.github.com/users/ramya-rao-a/followers","following_url":"https://api.github.com/users/ramya-rao-a/following{/other_user}","gists_url":"https://api.github.com/users/ramya-rao-a/gists{/gist_id}","starred_url":"https://api.github.com/users/ramya-rao-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramya-rao-a/subscriptions","organizations_url":"https://api.github.com/users/ramya-rao-a/orgs","repos_url":"https://api.github.com/users/ramya-rao-a/repos","events_url":"https://api.github.com/users/ramya-rao-a/events{/privacy}","received_events_url":"https://api.github.com/users/ramya-rao-a/received_events","type":"User","site_admin":false},"created_at":"2017-02-05T02:40:15Z","updated_at":"2017-02-05T02:40:15Z","body":"I can't repro the issue and so cannot test the fix. Can anyone on this thread volunteer to test this?\r\nSteps:\r\n- Clone the repo https://github.com/Microsoft/vscode-go\r\n- `cd` into the repo\r\n- Get the branch with the fix `roblou/killProcs`\r\n- `npm install`\r\n- If you don't have the `vsce` tool, then `npm install -g vsce`\r\n- `vsce package` to get the vsix file for the extension\r\n- `code --install-extension Go-0.6.53.vsix` to install the extension from the six\r\n- now run vs code as you normally would\r\n"}}
{"actor":{"display_login":"ramya-rao-a"}}