From 9cd79d761826683100a83460d2c53e520b5d12a6 Mon Sep 17 00:00:00 2001 From: jakecoffman Date: Mon, 10 Oct 2022 08:01:08 -0500 Subject: [PATCH] allow interactive debugging in the CLI --- updater/bin/fetch_files.rb | 1 + updater/bin/update_files.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/updater/bin/fetch_files.rb b/updater/bin/fetch_files.rb index 7512a0ae2d8..2ea501b0d3e 100644 --- a/updater/bin/fetch_files.rb +++ b/updater/bin/fetch_files.rb @@ -7,6 +7,7 @@ require "raven" require "dependabot/setup" require "dependabot/file_fetcher_job" +require "debug" if ENV["DEBUG"] class UpdaterKilledError < StandardError; end diff --git a/updater/bin/update_files.rb b/updater/bin/update_files.rb index 5be15203717..29165090ed1 100644 --- a/updater/bin/update_files.rb +++ b/updater/bin/update_files.rb @@ -7,6 +7,7 @@ require "raven" require "dependabot/setup" require "dependabot/update_files_job" +require "debug" if ENV["DEBUG"] class UpdaterKilledError < StandardError; end