Attempted to fix a bug with submodule debugging; It will likely not work.