canvas-lms/config/environments
Ben Rinaca a1a3fc26ba avoid port conflicts for remote debugging
if you're backgrounding multiple services on the same host in
development (ex: pow) then byebug_server would not be able to bind and
would cause your canvas to barf when booting. this change makes it so
it'll auto-assign ports and it also updates the byebug-remote to just
connect to the last one that had started.

also only starts byebug server if REMOTE_DEBUGGING_ENABLED is set, which
will be default for canvas docker development environment.

Change-Id: I646209e6bec64777945c56c45a3db29b847eb159
Reviewed-on: https://gerrit.instructure.com/81260
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: Ben Rinaca <brinaca@instructure.com>
QA-Review: Ben Rinaca <brinaca@instructure.com>
2016-06-02 15:37:32 +00:00
..
cache_store.rb remove rails 2 support 2014-08-06 18:16:19 +00:00
development.rb avoid port conflicts for remote debugging 2016-06-02 15:37:32 +00:00
production.rb remove rails 3 support 2015-12-23 21:36:43 +00:00
test.rb spec: coverage tool tweaking for test-queue 2016-01-28 18:16:16 +00:00