{"action":"closed","issue":{"url":"https://api.github.com/repos/deivid-rodriguez/byebug/issues/104","labels_url":"https://api.github.com/repos/deivid-rodriguez/byebug/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/deivid-rodriguez/byebug/issues/104/comments","events_url":"https://api.github.com/repos/deivid-rodriguez/byebug/issues/104/events","html_url":"https://github.com/deivid-rodriguez/byebug/issues/104","id":54369795,"number":104,"title":"Remote debugging port already in use","user":{"login":"kyledcline","id":5748469,"avatar_url":"https://avatars.githubusercontent.com/u/5748469?v=3","gravatar_id":"","url":"https://api.github.com/users/kyledcline","html_url":"https://github.com/kyledcline","followers_url":"https://api.github.com/users/kyledcline/followers","following_url":"https://api.github.com/users/kyledcline/following{/other_user}","gists_url":"https://api.github.com/users/kyledcline/gists{/gist_id}","starred_url":"https://api.github.com/users/kyledcline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyledcline/subscriptions","organizations_url":"https://api.github.com/users/kyledcline/orgs","repos_url":"https://api.github.com/users/kyledcline/repos","events_url":"https://api.github.com/users/kyledcline/events{/privacy}","received_events_url":"https://api.github.com/users/kyledcline/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deivid-rodriguez/byebug/labels/needs+feedback","name":"needs feedback","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-14T20:07:47Z","updated_at":"2015-01-20T14:56:02Z","closed_at":"2015-01-20T14:56:02Z","body":"Running foreman with byebug. Followed instructions in [the guide](https://github.com/deivid-rodriguez/byebug/blob/master/GUIDE.md#debugging-remote-programs), but when starting up foreman, I get a signal exception.\r\n\r\nTried a number of random ports, none seem to work.\r\n\r\n```\r\n5:01:07 web.1    | started with pid 68237\r\n15:01:07 clock.1  | started with pid 68238\r\n15:01:07 worker.1 | started with pid 68239\r\n15:01:08 web.1    | I, [2015-01-14T15:01:08.429773 #68237]  INFO -- : Refreshing Gem list\r\n15:01:11 clock.1  | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/byebug-3.5.1/lib/byebug/remote.rb:52:in `initialize': Address already in use - bind(2) for \"localhost\" port 9877 (Errno::EADDRINUSE)\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/byebug-3.5.1/lib/byebug/remote.rb:52:in `new'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/byebug-3.5.1/lib/byebug/remote.rb:52:in `start_control'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/byebug-3.5.1/lib/byebug/remote.rb:31:in `start_server'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/config/environments/development.rb:59:in `block in <top (required)>'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/railtie.rb:210:in `instance_eval'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/railtie.rb:210:in `configure'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/railtie.rb:182:in `configure'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/config/environments/development.rb:1:in `<top (required)>'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:247:in `require'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:247:in `block in require'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:232:in `load_dependency'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:247:in `require'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/engine.rb:594:in `block (2 levels) in <class:Engine>'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/engine.rb:593:in `each'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/engine.rb:593:in `block in <class:Engine>'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:30:in `instance_exec'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:30:in `run'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:226:in `block in tsort_each'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:418:in `block (2 levels) in each_strongly_connected_component_from'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:427:in `each_strongly_connected_component_from'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:417:in `block in each_strongly_connected_component_from'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:44:in `each'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:44:in `tsort_each_child'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:in `call'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:411:in `each_strongly_connected_component_from'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:347:in `block in each_strongly_connected_component'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:345:in `each'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:345:in `call'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:345:in `each_strongly_connected_component'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:224:in `tsort_each'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/tsort.rb:205:in `tsort_each'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:54:in `run_initializers'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/application.rb:300:in `initialize!'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/railtie.rb:194:in `public_send'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/railtie.rb:194:in `method_missing'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/config/environment.rb:5:in `<top (required)>'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/lib/clock.rb:3:in `require_relative'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/lib/clock.rb:3:in `<top (required)>'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/clockwork-1.1.0/bin/clockwork:12:in `require'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/clockwork-1.1.0/bin/clockwork:12:in `<top (required)>'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/bin/clockwork:23:in `load'\r\n15:01:11 clock.1  | \tfrom /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/bin/clockwork:23:in `<main>'\r\n15:01:11 clock.1  | exited with code 1\r\n15:01:11 system   | sending SIGTERM to all processes\r\n15:01:11 worker.1 | rake aborted!\r\nSIGTERM received\r\n15:01:11 worker.1 | SignalException: SIGTERM\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:44:in `block in tsort_each_child'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:44:in `select'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:44:in `tsort_each_child'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/initializable.rb:54:in `run_initializers'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/application.rb:300:in `initialize!'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/railtie.rb:194:in `public_send'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/railtie.rb:194:in `method_missing'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/config/environment.rb:5:in `<top (required)>'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:247:in `require'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:247:in `block in require'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:232:in `load_dependency'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:247:in `require'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/application.rb:276:in `require_environment!'\r\n15:01:11 worker.1 | /Users/kylecline/btcs_wallet/vendor/bundle/ruby/2.1.0/gems/railties-4.1.7/lib/rails/application.rb:389:in `block in run_tasks_blocks'\r\n15:01:11 worker.1 | Tasks: TOP => jobs:work => jobs:environment_options => environment\r\n15:01:11 worker.1 | (See full trace by running task with --trace)\r\n15:01:11 worker.1 | exited with code 1\r\n15:01:12 web.1    | I, [2015-01-14T15:01:12.906404 #68237]  INFO -- : listening on addr=0.0.0.0:5000 fd=16\r\n15:01:12 web.1    | I, [2015-01-14T15:01:12.973664 #68237]  INFO -- : master process ready\r\n15:01:12 web.1    | I, [2015-01-14T15:01:12.974116 #68237]  INFO -- : reaped #<Process::Status: pid 68242 exit 0> worker=1\r\n15:01:12 web.1    | I, [2015-01-14T15:01:12.974354 #68237]  INFO -- : reaped #<Process::Status: pid 68241 exit 0> worker=0\r\n15:01:13 web.1    | I, [2015-01-14T15:01:13.076964 #68237]  INFO -- : reaped #<Process::Status: pid 68243 exit 0> worker=2\r\n15:01:13 web.1    | I, [2015-01-14T15:01:13.082247 #68237]  INFO -- : master complete\r\n15:01:13 web.1    | exited with code 0\r\n```"}}