Refactor debug command's handling of repo and channel

Created by  dblsaiko  on March 29, 2024
YMCFR3BMW6OIR67YH5I7KFOFGA7PAKPLQFBXQJOYZ5N37NLSF3WAC
Change contents